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

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

 



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                                 |
 -----------------------------------------------------

Attachment: pgpiGFWCxgt28.pgp
Description: PGP signature


[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