From: j dot lammerts at chello dot nl
Operating system: AIX 5
PHP version: 5.1.4
PHP Bug Type: Feature/Change Request
Bug description: Configure fails when using IBM's V2.0 webserver
Description:
------------
Normally, when IBMIHS v 2.0(.47.1) is installed, the systemwide variable
LIBPATH is NOT changed.
Somewhere in the ./configure stage, the version of the webserver is tested
(httpd -v). On AIX, when LIBPATH is not set, this fails
Reproduce code:
---------------
Calling httpd -v with the LIBPATH variable NOT set to the installationpath
of IBMIHS/lib, produces this error :
exec(): 0509-036 Cannot load program /usr/IBMIHS/bin/httpd because of the
following errors
:
0509-150 Dependent module libaprutil-0.so could not be loaded.
0509-022 Cannot load module libaprutil-0.so.
0509-026 System error: A file or directory in the path name does
not exist.
This error causes the configure script to fail horribly...
Expected result:
----------------
The expected result can be obtained by setting the LIBPATH variable before
starting the configure script :
export LIBPATH=$LIBPATH:/usr/IBMIHS/lib
(or set it to wherever the lib directory for this instance of the
webserver is located)
(test by calling /usr/IBMIHS/bin/httpd -v....)
Maybe a check for a correct result of the call httpd -v can be
incorporated in the configure script. It took me weeks to figure this one
out !
--
Edit bug report at http://bugs.php.net/?id=38129&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38129&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38129&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38129&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38129&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38129&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38129&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38129&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38129&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38129&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38129&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38129&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38129&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38129&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38129&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38129&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38129&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38129&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38129&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38129&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38129&r=mysqlcfg