Is it possible to change the location of php.ini
to be used by Apache? When I did php -i | grep 'Configuration File'
, the result is:
Path => /usr/local/etc
Loaded Configuration File => /usr/local/etc/php.ini
But the result of phpinfo()
is
Configuration File (php.ini) Path : /etc
I can copy over php.ini
from /usr/local/etc/
to /etc/
, but is it possible to change the php.ini folder?
I installed PHP using homebrew and I am using OS X Snow Leopard.