php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33148 PHP Fails with apxs:Error: Command failed with rc=65536
Submitted: 2005-05-26 10:35 UTC Modified: 2005-05-26 19:31 UTC
From: scriptdaddy at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.11 OS: AIX 5.2 ML05
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scriptdaddy at gmail dot com
New email:
PHP Version: OS:

 

 [2005-05-26 10:35 UTC] scriptdaddy at gmail dot com
Description:
------------
PHP fails with apxs:Error: Command failed with rc=65536; each and everytime I compile it. Have replicated error on no-less than 10 occassions.

Error:

Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /home/susteveo/apache/php4-STABLE-200505251440/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.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.

Stop.

Using GNU GCC 

Built on a IBM RS/6000 H70 using AIX 5.2 ML05 with 64 Bit Kernal Enabled.

Using Apache 2.0.54, built with the following Configuration Options:

Same Error on PHP Versions: 4.XX, 5.XX and php4-STABLE-200505251440.

PHP built each time with following Configuration Options:

--disable-all --without-cli --with-apxs2=/usr/local/apache2/bin/apxs

Found that by copying the libphp4.so from .libs to /usr/local/apache2/modules then Apache will serve PHP files, however you have to manual configure the httpd.conf file and add the PHP Directive.

Reproduce code:
---------------
./configure --disable-all --without-cli --with-apxs2=/usr/local/apache2/bin/apxs

Expected result:
----------------
I expect PHP to compile successfully.

Actual result:
--------------
PHP does not compile successfully and following error produce each time apxs:Error: Command failed with rc=65536.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-26 14:16 UTC] scriptdaddy at gmail dot com
Forgot to add the Apache Configuration Options.

Apache Configuration Options:

./configure --with-mpm=worker --enable-so --enable-mods-shared=most --without-berkeley-db --enable-speling
 [2005-05-26 19:31 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #28496

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 20:01:31 2024 UTC