|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19422 apxs fails
Submitted: 2002-09-15 16:44 UTC Modified: 2002-09-16 13:45 UTC
From: m dot martinello at iol dot it Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: Linux 2.4.18
Private report: No CVE-ID: None
 [2002-09-15 16:44 UTC] m dot martinello at iol dot it
On "make install" the installation fails with the following error:

/usr/local/apache2/bin/apxs -i -a -n php4
/usr/local/apache2/build/ SH_LIBTOOL='/usr/local/apache2/build/libtool' /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp /usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /usr/local/php-4.2.3/libs'
mv: cannot move `/usr/local/apache2/modules/' to a subdirectory of itself, `/usr/local/apache2/modules/'
chmod 755 /usr/local/apache2/modules/
chmod: getting attributes of `/usr/local/apache2/modules/': No such file or directory
apxs:Error: Command failed with rc=65536

the "configure" line is:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-track-vars --enable-calendar --enable-ctype --enable-gd-imgstrttf --enable-gd-native-ttf --enable-magic-quotes --with-ftp --with-gettext --with-imap=yes --with-ldap=yes --with-mcrypt --with-snmp --with-t1lib --with-ttf --with-freetype-dir=yes --with-xml --with-swf=/usr/lib/libswf --with-gd --with-imap-ssl --with-openssl

"configure" and "make" ends without any problem.

What can I do to solve this problem?

Thank you very much!
Mattia Martinello


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-16 08:11 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 11:03:42 2023 UTC