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

2007-07-11 Thread Richard Lynch
On Fri, July 6, 2007 7:53 pm, Stut 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

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

2007-07-09 Thread clive
Nathan Nobbe wrote: On 7/6/07, Tijnema [EMAIL PROTECTED] wrote: Completely missed it LOL, it looks for it in /usr/lib :S Is that normal? i beleive it depends on the OS/distribution. on gentoo php.ini is located my ubuntu box looks like this: etc/php5 |-- apache2 | `-- php.ini |-- cgi |

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

2007-07-09 Thread Tijnema
On 7/8/07, Mario Guenterberg [EMAIL PROTECTED] 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

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

2007-07-09 Thread Mario Guenterberg
On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: I've build my own Linux, so good to know how to change it :) Tijnema Ahh, a linux from scratch user, eh? :-) If you need it or want some usefull input, I have very usefull build scripts for apache/php and mysql/postgresql. I use this

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

2007-07-09 Thread Tijnema
On 7/9/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: I've build my own Linux, so good to know how to change it :) Tijnema Ahh, a linux from scratch user, eh? :-) If you need it or want some usefull input, I have very usefull build

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

2007-07-09 Thread Mario Guenterberg
On Mon, Jul 09, 2007 at 10:38:24PM +0200, Tijnema wrote: On 7/9/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: I've build my own Linux, so good to know how to change it :) Tijnema Ahh, a linux from scratch user, eh? :-)

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

2007-07-09 Thread Tijnema
On 7/9/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Jul 09, 2007 at 10:38:24PM +0200, Tijnema wrote: On 7/9/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: I've build my own Linux, so good to know how to change it :)

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

2007-07-08 Thread Nathan Nobbe
On 7/6/07, Tijnema [EMAIL PROTECTED] wrote: Completely missed it LOL, it looks for it in /usr/lib :S Is that normal? i beleive it depends on the OS/distribution. on gentoo php.ini is located at /etc/php/apache2-php5 Here is a bit of output from phpinfo() on a gentoo box of mine [w/ no changes

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

2007-07-08 Thread Mario Guenterberg
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

[PHP] Where does PHP look for php.ini??

2007-07-06 Thread Tijnema
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 :) Tijnema -- Vote for PHP Color Coding in

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

2007-07-06 Thread Stut
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

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

2007-07-06 Thread Tijnema
On 7/7/07, Stut [EMAIL PROTECTED] 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