Creating a phpinfo File

walker.king89

Member
Registered
Joined
Jun 19, 2014
Messages
26
Points
3
There is a function in php called phpinfo(). This function prints all the configuration of your formatted php.ini file and allows us to know the current configuration of the server and for a particular domain and all additional libraries and configurations.

To obtain this information, we can create a php document with the following content.

Code:
<?php
 phpinfo ();
 ?>
You will obtain from the browser information similar to the following image:

Creating a phpinfo File.jpg
 

myvirtualst1008

Member
Registered
Joined
Jun 2, 2017
Messages
15
Points
0
PHP has many environmental variables that you are able to update as needed. For example, you may need to update your php memory_limit to prevent certain scripts from running out of memory. In order to change these values, you must first be able to see what they are. To do that, you will need to create a phpinfo page. A phpinfo page shows you all of your php environment settings.
 
Latest Threads
Replies
1
Views
24
Replies
0
Views
176
Replies
1
Views
37
Replies
2
Views
81

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top