PHPsu
MANUAL ZH  |  EN
     


Current Position :| index>Beginners> how to display Apache PHP configuration

how to display Apache PHP configuration

FROM: AUTHOR: TIME:2008-06-06 HITS:
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); welcome to phpsu.com

?>
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.

TITLE:how to display Apache PHP configuration
Copyright 2008 The PHPsu All rights reserved. This mirror generously provided by: .Hp Inc.
Last updated: Fri Jun 6 22:59:20 GMT-8 2008