PDA

View Full Version : [ubuntu] 9.10 - PHP5 - Not picking up additional config scan dir



nshahzad
October 31st, 2009, 04:58 PM
Hi guys,

Clean install of 9.10 - I apt-get install php5-common , run it, but see it's not setting the command for "additional scan directories".

So, I figured maybe the configure option was missing, but I do see it in the cgi/cli:


CFLAGS="$(CFLAGS)" PROG_SENDMAIL="$(PROG_SENDMAIL)" ../configure \
--prefix=/usr --enable-force-cgi-redirect --enable-fastcgi \
--with-config-file-path=/etc/php5/cgi \
--with-config-file-scan-dir=/etc/php5/cgi/conf.d \
I've completely removed it and reinstalled a few times, but it's not not picking up that configure option. On my other box, 9.04 it's setup fine.

I'm completely lost, been Googling to find some info, but not sure where to go.
Why's it matter? Well, all the additional conf files which are parsed are put in the conf.d directory. I don't want to have to manually be adding each one to the main php.ini.

Any ideas?
Nabeel

nshahzad
October 31st, 2009, 05:13 PM
Edit: It seems like it's only php-cgi which isn't respecting the --with-config-file-scan-dir. Huh??

I'm not even sure where to go with this...