| Tutorials Main Latest Tutorials Popular Tutorials Top Rated Tutorials |
| Login to See your Favorite Tutorials |
| Description: Using phpinfo can give you an idea of the settings in your php.ini. Very useful when you do not have access to the root / core files of the server. | |
| Version: 1.0 | |
| Added on: 23 June 2007 | |
| Author: Floppy | |
| Difficulty Level: Very Easy | |
| Views: 258 | |
People with VPS or Dedicated hosting should ignore this tutorial for the most part because you should have access to the core server files.
From php.net (http://us2.php.net/phpinfo)
| Quote: |
| Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License. |
| Code: |
| <?php
phpinfo(); ?> |