Online Chat
 Call Us: 
Browse Submit a Ticket
Advanced Search
Rss Categories

Checking your PHP settings with phpinfo()

Author: Edward Hardin Reference Number: AA-00616 Views: 16527 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:

    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
  3. You'll get something like this: