Home Learn More Purchase Knowledge Base Support Contact

Search:     Advanced search

How can I create a phpinfo.php page?

Article ID: 288
Last updated: 19 Feb, 2010

To create the file simply add the following lines of code to a blank document and name the file phpinfo.php

<?php
phpinfo();
?>

Save the file as phpinfo.php and place it in the desired directory. Lastly, call the script from a browser.
Example: http://www.example.com/folder/phpinfo.php 

The phpinfo file outputs a large amount of information about the current state of PHP. This includes 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 and HTTP headers.

Article ID: 288
Last updated: 19 Feb, 2010
Views: 2624
Comments: 0
This article was:  
Prev   Next
How do I change the PHP Max Upload file size?     How can I find my "Full server path"?


© 2011 Double Jade LLC | customer.service@kbpublisher.com