What is PHPinfo? How can I run it?

PHPinfo is a function that returns information, in HTML form, about the PHP environment on your server (see http://us2.php.net/phpinfo for more information).

To run PHPinfo you must save the following code in a file on your computer using your text editor:
 
<?php phpinfo (); ?>


FTP the file to the web content folder for your domain.

If your file is named "phpinfo.php", then you will run PHPinfo by using your web browser to go to "www.yourdomain.com/phpinfo.php"

Add Feedback