Knowledgebase: Running CGIs, Perl
How can I see the PHP configuration on the server?
Posted by Administrator on 20 September 2005 09:17 PM
If you would like to know how PHP is configured on your server, follow the steps provided below:

Step 1: Create a file named phpinfo.php with your favorite HTML editor and enter one simple line that looks like the following:



Step 2: Save the file and upload to your hosting account's public_html directory.

Step 3: Point your web browser to the file you just uploaded by going to:

http://www.yourdomain.com/phpinfo.php

* replace yourdomain.com with the actual domain name associated with your web hosting account.

Upon loading completion of the above page, you should see PHP's internal configuration complete with which modules were compiled in and the options and other parameters available to you.

(500 vote(s))
Helpful
Not helpful