Re: Where does PHP look for php.ini??
| From: | Mario Guenterberg | Date: | Sun, 08 Jul 2007 16:50:46 +0000 |
| Subject: | Re: Where does PHP look for php.ini?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258474@lists.php.net to get a copy of this message | ||
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
--
-----------------------------------------------------
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966 |
| Notruf: 0173-277 33 60 |
| http://www.havelsoft.com |
| |
| Inhaber: Mario Günterberg |
| Mützlitzer Strasse 19 |
| 14715 Märkisch Luch |
-----------------------------------------------------