PHP info

PHPinfo is a function that returns information, in HTML form, about the PHP environment on Linux server. To run PHPinfo you must save the following code in a file on your computer using your text editor:

<?php
phpinfo ();
?>

You can save the file as phpinfo.php. Then FTP the file to the web content folder for your domain and run PHPinfo by using “www.yourdomain.com/phpinfo.php” on the web browser.

The phpinfo provides lot of information which is required for setting base path in the config file, seetings like Register_Globals, path to perl or cgi etc.

For more information, click here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s