Edit report at https://bugs.php.net/bug.php?id=63611&edit=1
ID: 63611 Updated by: larue...@php.net Reported by: admin at marcelaraujo dot me Summary: Config file path doesn't work -Status: Open +Status: Feedback Type: Bug Package: Unknown/Other Function Operating System: Centos 6.3 64bits PHP Version: 5.4.9 Block user comment: N Private report: N New Comment: did you build 5.4.9 freshly? a common reason is , you re-configure the PHP , but didn't make clean before your re-compile it Previous Comments: ------------------------------------------------------------------------ [2012-11-26 15:09:41] admin at marcelaraujo dot me Description: ------------ Hi guys I've built the PHP 5.4.9 source code but the PHP won't find php.ini in the /etc folder. After I compile the PHP 5.4.8 and everything runs fine. Test script: --------------- ./configure --enable-fpm --with-libdir=lib64 --prefix=/usr/local --with-layout=PHP --with-pear --with-apxs2 --with-fpm-user=www-data --with-fpm-group=www-data --enable-debug --with-openssl --with-kerberos --with-zlib --enable-calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-vpx-dir=/usr --with-freetype-dir=/usr --with-t1lib --enable-exif --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-gmp --with-mhash --enable-intl --enable-mbstring --with-mcrypt --with-mysql --with-mysqli --enable-pcntl --with-pdo-mysql --with-pspell --with-libedit --with-readline --enable-shmop --with-snmp --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvshm --with-xsl --enable-zip --with-pear --enable-zend-signals --enable-maintainer-zts --enable-calendar --enable-bcmath --with-gmp --enable-exif --with-mcrypt --with-mhash --with-zlib --with-bz2 --enable-zip --enable-ftp --enable-mbstring --with-iconv --enable-intl --with-icu-dir=/usr --with-gettext --with-pspell --enable-sockets --with-openssl --with-curl --with-curlwrappers --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-vpx-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --with-libxml-dir=/usr --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-soap --with-xmlrpc --with-xsl --with-tidy=/usr --with-readline --enable-pcntl --enable-sysvshm --enable-sysvmsg --enable-shmop --enable-memory-limit --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php/conf.d --with-apxs2=/usr/sbin/apxs && make && make install Expected result: ---------------- Configuration File (php.ini) Path -> /etc Loaded Configuration File -> /etc/php.ini Scan this dir for additional .ini files -> /etc/php/conf.d Actual result: -------------- Configuration File (php.ini) Path -> /etc Loaded Configuration File -> none Scan this dir for additional .ini files -> /etc/php/conf.d ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63611&edit=1