Re: Where does PHP look for php.ini??
| From: | Tijnema | Date: | Mon, 09 Jul 2007 15:16:20 +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-258502@lists.php.net to get a copy of this message | ||
On 7/8/07, Mario Guenterberg <mg@havelsoft.com> wrote:
On Sat, Jul 07, 2007 at 02:08:21AM +0200, Tijnema wrote: Hi, 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 :) Hi... you can use the configure parameter --with-config-file-path. Greetings Mario --I've build my own Linux, so good to know how to change it :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info