Bug #69508 [NEW]: When using INSTALL_ROOT, apxs is called to modify httpd.conf in the INSTALL_ROO

From: Date: Thu, 23 Apr 2015 00:10:27 +0000
Subject: Bug #69508 [NEW]: When using INSTALL_ROOT, apxs is called to modify httpd.conf in the INSTALL_ROO
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192280@lists.php.net to get a copy of this message
From:             quanah at zimbra dot com
Operating system: Linux 2.6
PHP version:      5.6.8
Package:          Compile Failure
Bug Type:         Bug
Bug description:When using INSTALL_ROOT, apxs is called to modify httpd.conf in the INSTALL_ROO

Description:
------------
For some broken reason, PHP calls apxs to modify httpd.conf. Given that
httpd.conf is seldom even used anymore, the utility in this is extremely
questionable.  Regardless of that, when using INSTALL_ROOT with php,
apxs is called to incorrectly modify httpd.conf in the INSTALL_ROOT
location, which, of course, it won't actually exist in

make[1]: Entering directory
`/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-srcpkg'
Installing PHP SAPI module:       apache2handler
/opt/zimbra/data/httpd/build/instdso.sh
SH_LIBTOOL='/opt/zimbra/common/build-1/libtool' libphp5.la
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/modules
/opt/zimbra/common/build-1/libtool --mode=install install libphp5.la
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/modules/
libtool: install: install .libs/libphp5.so
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/modules/libphp5.so
libtool: install: install .libs/libphp5.lai
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-srcpkg/libs'
chmod 755
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/modules/libphp5.so
apxs:Error: Config file
/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-tmppkg/opt/zimbra/common/conf/httpd.conf
not found.
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory
`/home/build/p4/zimbra/main/ThirdParty/php/php-5.6.7-srcpkg'
make: *** [build-pkg] Error 2


Expected result:
----------------
apxs is not called at all, as most apache installations don't even use
httpd.conf anymore

Actual result:
--------------
apxs is called against an incorrect location, causing build failure.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=69508&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=69508&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=69508&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=69508&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=69508&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=69508&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=69508&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=69508&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=69508&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=69508&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=69508&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=69508&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=69508&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=69508&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69508&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=69508&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=69508&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=69508&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69508&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=69508&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=69508&r=mysqlcfg



Thread (5 messages)

« previous php.bugs (#192280) next »