How can I view server configuration information for PHP?


To be able to view server configuration information for your sites using PHP, insert the following code into a file named phpinfo.php:

<?php phpinfo(); ?>

Save the file to your site and then use your browser to call on the file.



Was this content helpful?




© 2014 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER