Reputation: 21371
[root@localhost \]# php -i | grep Configuration
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => (none)
Upvotes: 1
Views: 7206
Reputation: 31
it seems that apache has no right to read php.ini file under "/usr/local/lib" check the rights for
Upvotes: -1
Reputation: 1332
Make the following php script:
<?php phpinfo(); ?>
and run it throw browser. It will contain "Loaded Configuration File" with path to loaded php.ini file.
Upvotes: 1
Reputation: 2918
That is for CLI,
Run phpinfo()
and run it thought CGI (apache).
Also, in order to help you you need to post more information!
Upvotes: 0