INI files dir not scanned
Posted: Mon Mar 23, 2009 12:49 am
We run PHP 5.2.6 on Ubuntu 8.10 (intrepid).
PHP was compiled with several options and phpinfo() shows all of them, like:
But for some reasons, the /etc/php5/conf.d dir is not scanned.
A call to php_ini_scanned_files() returns (bool)false, while the dir exists and has many ini...
We need simply to start 'apc' and the module is installed correctly.
But the initial/main problem seems that the /etc/php5/conf.d is not scanned while the option is present in the 'configure' options.
No error in error logs.
Any idea? Thanks.
PHP was compiled with several options and phpinfo() shows all of them, like:
Code: Select all
./configure --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/conf.dA call to php_ini_scanned_files() returns (bool)false, while the dir exists and has many ini...
Code: Select all
root@here# ll /etc/php5/conf.d
total 20
-rw-r--r-- 1 root root 32 2009-03-23 14:07 apc.ini
-rw-r--r-- 1 root root 57 2007-10-05 08:36 mysqli.ini
-rw-r--r-- 1 root root 56 2007-10-05 08:36 mysql.ini
-rw-r--r-- 1 root root 52 2007-10-05 08:36 pdo.ini
-rw-r--r-- 1 root root 60 2007-10-05 08:36 pdo_mysql.ini
But the initial/main problem seems that the /etc/php5/conf.d is not scanned while the option is present in the 'configure' options.
No error in error logs.
Any idea? Thanks.