Re: stupid compile problem... additional ini files not found

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

 



hi Richard,

Richard Lynch wrote:
> Are /etc and /etc/php.d set to be executable by the PHP user?...

read and execute bit is on for everyone on those dirs.

> 
> Though I *thought* the files were getting read by root at Apache
> startup, so that shouldn't matter...
> 
> Did you remember to restart Apache?

yup.

> 
> Are you 100% sure your apache restart script didn't fail to kill/start
> it?...  I spent most of a day once using a badly-written apache
> startup script that never actually killed Apache... :-(
> 

I have had similar tribulations ... but today restarts were working,
other httpd.conf changes were showing up.

besides I was testing the CLI and the apache module and both had the
same problem.

weird huh!
anyway thanks for your input.

> On Mon, August 21, 2006 6:58 am, Jochem Maas wrote:
>> hi people,
>>
>> anyone know why my additional ini files are being ignored.
>>
>> I've just built php5.1.1
>> the configure line is:
>>
>> './configure' '--with-interbase=shared,/opt/firebird'
>> '--with-apxs2=/usr/sbin/apxs' '--with-gd=shared' '--with-zlib-dir'
>> '--with-jpeg-dir' '--with-config-file-scan-dir=/etc/php.d'
>> '--with-mm=/usr'
>>
>> the dir [that php is configured to look in for additional ini files]
>> exists:
>>
>> # ls -lart /etc/php.d/
>> total 32
>> -rw-r--r--  1 root root   375 Aug 21 12:42 interbase.ini
>> -rw-r--r--  1 root root    51 Aug 21 12:42 gd.ini
>> -rw-r--r--  1 root root  1130 Aug 21 12:42 apc.ini
>> drwxr-xr-x  2 root root  4096 Aug 21 12:45 .
>> drwxr-xr-x 91 root root 12288 Aug 21 13:20 ..
>>
>> YET, doing a 'php -i' shows that no files were read from that dir:
>>
>> <SNIP>
>> PHP Version => 5.1.1
>> System => Linux testserver.dynabyte.nl 2.6.15-1.2054_FC5 #1 Tue Mar 14
>> 15:48:33 EST 2006 i686
>> Build Date => Aug 21 2006 13:43:09
>> Configure Command =>  './configure'
>> '--with-interbase=shared,/opt/firebird' '--with-apxs2=/usr/sbin/apxs'
>> '--with-gd=shared' '--with-zlib-dir' '--with-jpeg-dir'
>> '--with-config-file-scan-dir=/etc/php.d' '--with-mm=/usr'
>> Server API => Command Line Interface
>> Virtual Directory Support => disabled
>> Configuration File (php.ini) Path => /etc/php.ini
>> Scan this dir for additional .ini files => /etc/php.d
>> PHP API => 20041225
>> </SNIP>
>>
>> the following line should be part of the snippet just above the last
>> line (PHP API):
>>
>> additional .ini files parsed => /etc/php.d/apc.ini, /etc/php.d/gd.ini,
>> /etc/php.d/interbase.ini
>>
>>
>> any takers?
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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