Check php information » History » Revision 2
Revision 1 (Amber Herold, 04/15/2010 03:14 PM) → Revision 2/17 (Amber Herold, 04/15/2010 03:47 PM)
h1. Check php information Create the following info.php in your web server document root directory (/var/www/html on CentOS. /srv/www/htdocs on SuSE. You can find its location in httpd.conf mentioned above under the line starting DocumentRoot). <pre> <?php phpinfo(); ?> </pre> Visit this page at http://yourhost/info.php You will see comprehensive tables of php and apache information, including the location of the addition .ini files, extension, include path, and what extension is enabled. Here is an example screen shot of the part of the info.php page that tells you where php.ini and other configuration files are. !http://emg.nysbc.org/software/leginon/images/images/phpini.png! ______ [[Install Apache Web Server|< Install Apache Web Server]] | [[Install the MRC PHP Extension|Install the MRC PHP Extension >]]