[PHP-BUG] Bug #51584 [NEW]: FPM configure build fails to honor --with-config-file-path option

[email protected] ("rschultz7 at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             
Operating system: Linux
PHP version:      5.3SVN-2010-04-17 (SVN)
Package:          FPM related
Bug Type:         Bug
Bug description:FPM configure build fails to honor --with-config-file-path option

Description:
------------
When configuring FPM with --with-config-file-path it doesn't look for
config file 
in specified location location. Instead it looks for its config in
--sysconfdir.

Test script:
---------------
'./configure' '--prefix=/usr' '--build=i686-pc-linux-gnu'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--prefix=/usr/lib/php5'
'--mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info'
'--libdir=/usr/lib/php5/lib' '--without-pear' '--disable-maintainer-zts'
'--enable-bcmath' '--with-bz2' '--disable-calendar' '--with-curl'
'--without-curlwrappers' '--without-enchant' '--disable-exif'
'--enable-ftp' '--with-gettext' '--without-gmp' '--disable-intl'
'--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mssql'
'--with-onig=/usr' '--with-openssl' '--with-openssl-dir=/usr'
'--disable-pcntl' '--without-pgsql' '--without-pspell' '--without-recode'
'--enable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets'
'--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem'
'--disable-sysvshm' '--with-tidy' '--disable-tokenizer' '--disable-wddx'
'--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--with-xsl'
'--enable-zip' '--with-zlib' '--disable-debug' '--enable-dba'
'--without-cdb' '--with-db4' '--disable-flatfile' '--with-gdbm'
'--disable-inifile' '--without-qdbm' '--without-freetype-dir'
'--without-t1lib' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr'
'--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--without-interbase'
'--with-mysql=mysqlnd' '--with-mysql-sock=/var/run/mysqld/mysqld.sock'
'--with-mysqli=mysqlnd' '--without-oci8' '--without-pdo-dblib'
'--with-pdo-mysql=mysqlnd' '--without-pdo-pgsql' '--with-pdo-sqlite=/usr'
'--without-pdo-odbc' '--with-readline' '--without-libedit' '--with-mm'
'--with-sqlite=/usr' '--enable-sqlite-utf8' '--with-pcre-regex=/usr'
'--with-pcre-dir=/usr' '--disable-cli' '--enable-fpm'
'--with-libevent-dir=shared,/usr/lib' '--disable-cgi' '--disable-embed'
'--without-apxs2' '--with-config-file-path=/etc/php/fpm-php5'
'--with-config-file-scan-dir=/etc/php/fpm-php5/ext-active'

Expected result:
----------------
FPM to default look for its config file in --with-config-file-path by
default

Actual result:
--------------
Looks for its config file in --sysconfdir

-- 
Edit bug report at http://bugs.php.net/bug.php?id=51584&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=51584&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=51584&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=51584&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=51584&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51584&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=51584&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=51584&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=51584&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=51584&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=51584&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=51584&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=51584&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=51584&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=51584&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51584&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51584&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=51584&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=51584&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=51584&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=51584&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=51584&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.