Clan Adverts

www.afgserv.com

 

Using phpinfo

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
Detailed Profile

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.


Create a new php document named info.php.

Code:
<?php
phpinfo();
?>


Save and Upload the document to your host root.

Next,
Access through your web browser (www.yoursite.com/info.php)

For Security Reasons!
Its best you never leave this on your server after you have acquired the information you need.