Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Checking your PHP settings with phpinfo()

Author: Edward Hardin Reference Number: AA-00616 Views: 19035 Last Updated: 05/12/2011 11:43 AM 0 Rating/ Voters

phpinfo() is the PHP function that outputs your current PHP settings.

It may be useful if you're installing or configuring PHP and want to check if everything is fine, or if you're troubleshooting a problem connected with PHP.

  1. Create an info.php page in your site that contains the following:

    <?php
    phpinfo();
    ?>
    Use a plain text editor for this, e.g. Notepad or Notepad++. Do not use Word or Wordpad for this!
  2. Open it in your browser, e.g. if you put the file to the web root folder, open http://www.yourwebsite.com/info.php
  3. You'll get something like this: