How to create a phpinfo page
All versions of PHP come with a very simple and endlessly useful information function:
Calling this function inside a PHP page will list all of your PHP configuration information in a tabular format.
1. Open up a simple text editor like Notepad or Textpad (not Microsoft Word or similar).
2. Paste in the following PHP code:
3. Save the file as phpinfo.php.
4. Upload to your webserver.
All versions of PHP come with a very simple and endlessly useful information function:
PHP:
phpinfo();
1. Open up a simple text editor like Notepad or Textpad (not Microsoft Word or similar).
2. Paste in the following PHP code:
PHP:
<?php
phpinfo();
?>
4. Upload to your webserver.