Pages

Tuesday, June 26, 2012

PHP configuration review

often to check the PHP configuration setting it is said that review the file php.ino in browser.
However you can check the configuration in command line using php -i option.

e.g. to  check what is the path for php.ini file use


[root@nagios php]# php -i  | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

No comments:

Post a Comment