option --with-config-file-path

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



Hello,

Sorry if that question have been asked before. I searched in the list
archives and didn't find anything useful.

I am trying to understand why the configure option --with-config-file-path
does not work when I am compiling from source.

the command line for configure I am using is:
./configure  --prefix=/opt/php --enable-bcmath
--with-apxs2=/opt/http/bin/apxs --with-config-file-path=/opt/php/etc

make && make install are ok.

then
/opt/php/bin/php --ini
outputs
Configuration File (php.ini) Path: /opt/php/lib
Loaded Configuration File:         /opt/php/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

which means that php is going to search for the ini file in /opt/php/lib
directory instead of /opt/php/etc

The same behavor is observed for the with-config-scan-dir option.

I've tried with both php-5.3.8 and php-5.2.17

Does anybody have a clue?

Thanks.






[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux