Re: Where does PHP look for php.ini??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tijnema wrote:
I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini in /etc
I have compiled php with --prefix=/usr, and my /usr/etc is symlinked
to /etc, but it doesn't read the php.ini file..
when I use the CLI with -c /etc it works fine :)

php -i on the command line, or phpinfo() in a SAPI script will tell you where it expects to find it, as well as whether it did find it.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux