Networking, Programming and Graphics - Tutorials
ONLINEHOWTO.net Tutorials Category

PHP info

Type: Code Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Level: Intermediate Networking, Programming and Graphics - Tutorials Networking, Programming and Graphics - Tutorials 
Networking, Programming and Graphics - Tutorials
Date: 2007-Mar-15
Networking, Programming and Graphics - Tutorials
Visited: 4217 times
Networking, Programming and Graphics - Tutorials
Rating: Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Published: 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.
PHP info
Rate this tutorial:                    
Post Comment


    • posted on 2009-Jul-28 | 10:46:38 AM
      You can use this tutorial about uploading the test.php file:

      http://www.onlinehowto.net/Tutorials/Filezilla/Uploading-files-using-FileZilla-FTP-Clients/11

      Just copy and paste this link in your browser's address bar.
Need a specific tutorial? Do not hesitate and submit a request!
Your e-mail: