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

2010-04-18 Thread rschultz7 at gmail dot com
Edit report at http://bugs.php.net/bug.php?id=51584&edit=1

 ID:   51584
 Comment by:   rschultz7 at gmail dot com
 Reported by:  rschultz7 at gmail dot com
 Summary:  FPM configure build fails to honor
   --with-config-file-path option
 Status:   Bogus
 Type: Bug
 Package:  FPM related
 Operating System: Linux
 PHP Version:  5.3SVN-2010-04-17 (SVN)

 New Comment:

Yes but there is no other option to specify a different config file path
for 

FPM. This was removed from the 0.6 version to what was included with
SVN. It 

doesn't make sense if you wish to keep all php related config files
under a 

single directory. Especially when if you don't define
--with-config-file-path 

isn't defined it then defaults back to --sysconfdir. So if you say that
it 

should be a different config directive then bring back the
--with-fpm-conf-dir 

instead of using --sysconfdir because --sysconfdir is identified as

--sysconfdir=DIR

   read-only single-machine data in DIR [PREFIX/etc]



Nothing specifying that the FPM config is looked for here.


Previous Comments:

[2010-04-18 22:03:26] tony2...@php.net

--with-config-file-path=PATH

  Set the path in which to look for php.ini
[PREFIX/lib]



Apparently you're wrong in your assumption that it should look for its
config file in the directory where php.ini is looked for.

These are two different files, therefore a different configure option is
used in this case.

----
[2010-04-17 19:52:38] rschultz7 at gmail dot com

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 this bug report at http://bugs.php.net/bug.php?id=51584&edit=1


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

2010-04-17 Thread rschultz7 at gmail dot com
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