Networking, Programming and Graphics Tutorials

How to display the PHP server information [1/1]

Type: Code Networking, Programming and Graphics Tutorials
How to display the PHP server information
Level: Intermediate Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
How to display the PHP server information
Date: 2007-Mar-19
How to display the PHP server information
Visited: 1561 times
How to display the PHP server information
Rating: How to display the PHP server information
How to display the PHP server information
Author: Tony Potter

This tutorial will show you how to display Apache PHP configuration.
It is useful in cases when you are going to install a particular application which needs specific requirements like register_globals or long_array turned On or Off.

This can be done by simply uploading one file, for example 'info.php' with the following code included inside:

<?php

// Print all information.
phpinfo();

// Output only the module information.
phpinfo(INFO_MODULES);

?>
create one text file with your favorite text editor like Notepad, then copy and paste the code above into it. Save the file for example like info.php and then upload it to your server.
Then you are ready type : http://yourdomain.tld/info.php and you should see a table with the current PHP configuration and module information.

How to display the PHP server information
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - How to display the PHP server information [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: display server information  display server information with php  display server information php  php display server information  display server information from php  php+display server information  how to display information in unix  unix display system information  "display system information" unix linux  simple php script to display linux system information