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

From: Date: Mon, 21 Aug 2006 12:48:51 +0000
Subject: Re: stupid compile problem... additional ini files not found
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240944@lists.php.net to get a copy of this message
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?
For shits and giggles, does 'other' have execute permission on the directory /etc/php.d? Anything in the Apache error log at start-up? -- By-Tor.com ...it's all about the Rush http://www.by-tor.com

« previous php.general (#240944) next »