From:             tessarek at evermeet dot cx
Operating system: AIX 5.x and Redhat Linux 8.0 / 9
PHP version:      5.0.0
PHP Bug Type:     Unknown/Other Function
Bug description:  Installing PHP SAPI module fails

Description:
------------
This problem came with PHP 5.0.0 and is still there in 5.0.1.

The make of PHP 5.0.x works fine, but when running the 'make install', I
get following error:

Installing PHP SAPI module:       apache2filter
/opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool'
libphp5.la /opt/apache/modules
rm -f /opt/apache/modules/libphp5.so
/opt/apache/build/libtool --mode=install cp libphp5.la
/opt/apache/modules/
cp .libs/libphp5.a /opt/apache/modules/libphp5.a
cp .libs/libphp5.lai /opt/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/ext/php-5.0.1/libs'
chmod 755 /opt/apache/modules/libphp5.so
chmod: /opt/apache/modules/libphp5.so: A file or directory in the path
name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.

There seems something wrong with the makefile.
With PHP 4.x.x I never had this problem.

My Apache version is 2.0.51, but the problem is also reproducable with
older versions.

It is kind of funny, because there is a libphp5.so file in the
/ext/php-5.0.1/.libs directory, where /ext/php-5.0.1/ is my compilation
directory.
I can copy the file manually to my Apache modules directory and everything
works fine.
The only problem is that when I do it manually, there is nothing in my PHP
target (/opt/php) directory.

My configure line is as follows:

./configure --prefix=/opt/php --with-config-file-path=/etc
--with-apxs2filter=/opt/apache/bin/apxs --without-mysql
--with-ibm-db2=/usr/opt/db2_08_01 --with-xml --enable-cli --disable-ipv6
--enable-force-cgi-redirect --disable-debug --enable-pic
--enable-inline-optimization --with-ncurses --with-iconv
--with-regex=system --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-track-vars --enable-trans-sid --enable-wddx --without-oci8
--enable-ucd-snmp-hack --enable-memory-limit --enable-shmop
--enable-versioning --enable-calendar --enable-dbx --enable-dio
--enable-mcal --with-gettext --with-dom --with-zlib
--with-zlib-dir=/usr/lib --with-imap --with-openssl=/opt/freeware
--with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-pdflib
--without-sqlite --with-bz2

The problem occurs under AIX 5.1 / AIX 5.2 / Redhat 8.0 / Redhat 9.0 and
Redhat Enterprise Server 3.0.
(These are the systems I've tested it on.)

I hope that this bug has not already been submitted, because I haven't
found anything in the bug database.


-- 
Edit bug report at http://bugs.php.net/?id=30160&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30160&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30160&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30160&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30160&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30160&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30160&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30160&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30160&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30160&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30160&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30160&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30160&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30160&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30160&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30160&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30160&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30160&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30160&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30160&r=mysqlcfg

Reply via email to