[Tutorial] Viewing your server settings

Example of PHP code.

Moderator: Moderators

[Tutorial] Viewing your server settings

Postby Greg on Sun Feb 27, 2005 7:46 pm


To see your server settings use the code below.
Code: Select all

It shows 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.

With that information, you can make a testing server and make the same settings so you know the server your site is on and the testing one are the same.

More information on displaying certain types of information can be found here: http://uk2.php.net/phpinfo


This work is licensed under a Creative Commons License
User avatar
Registered User
Registered User
Posts: 651
Joined: Wed Jul 07, 2004 3:20 pm
Location: Yorkshire, United Kingdom

Return to PHP Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest