XHanch Studio Log in | Register | Cart

Forum

[Tutorial] About PH...
 
Notifications
Clear all

[Tutorial] About PHP info

1 Posts
1 Users
0 Likes
2,115 Views
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
Topic starter
 

You can use a PHP info page to view the current PHP information for your server.

This file outputs a large amount of information, including information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Because every system is set up differently, phpinfo() is commonly used to check PHP configuration settings and for available predefined variables on your particular system.

The PHP function, phpinfo(), is also a valuable debugging tool, as it contains all EGPCS (Environment, GET, POST, Cookie, and Server) data.

To have a PHP info page:

  • Download the attachment below
  • Extract it and you will find phpinfo.php
  • Upload the PHP file to your public_html or other accessible directory
  • Open the file via internet browser (ex: http://your-domain/phpinfo.php ) and that will be your PHP info page
 
Posted : 18/05/2011 12:44 am
Share:

× Close Menu