Please visit: http://help.rackspacecloud.com Glossary   
Search  
   
Browse by Category
Please visit: http://help.rackspacecloud.com .: Web Programming .: PHP .: What is PHPinfo? How can I run it?

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". For more information on using FTP to transfer content to your website, see Where should I put my web content files? and Should I upload files as ASCII or Binary?


How helpful was this article to you?


.: Powered by Lore 1.5.6