Re: Where does PHP look for php.ini??
| From: | Tijnema | Date: | Sat, 07 Jul 2007 01:06:21 +0000 |
| Subject: | Re: Where does PHP look for php.ini?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258432@lists.php.net to get a copy of this message | ||
On 7/7/07, Stut <stuttle@gmail.com> wrote:
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. -StutCompletely missed it LOL, it looks for it in /usr/lib :S Is that normal? Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info