Quantcast
Channel: Technical chat
Viewing all articles
Browse latest Browse all 689

Creating a phpinfo() page

$
0
0
How to create a phpinfo page

All versions of PHP come with a very simple and endlessly useful information function:
PHP:
phpinfo();
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:
PHP:
<?php
  phpinfo
();
?>
3. Save the file as phpinfo.php.

4. Upload to your webserver.

Viewing all articles
Browse latest Browse all 689

Trending Articles