1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Getting More Information From PHP


Getting More Information From PHP

PHP Information:

Sometimes it is necessary to find out more information about the version of PHP your server is running. You can find out the PHP version, as well as many specific settings just by running a very simple one line program from your browser.

<?php phpinfo() ?>

The phpinfo () command will bring up a full profile of the PHP you are currently running, and display it in categorized tables for you to view. This can provide information you need to both install scripts and write your own, and in some cases save you time e-mailing your host to ask about your PHP capabilities or paths.

Try running this simple program on your server, and browse through all the information you receive.

Related Video
Basic PHP Syntax
Using PHP With HTML
  1. About.com
  2. Technology
  3. PHP / MySQL
  4. PHP Functions
  5. Getting More Information From PHP

©2014 About.com. All rights reserved.