php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13461 Problem using PHP3 or PHP4 with Apache 1.3.20
Submitted: 2001-09-26 17:03 UTC Modified: 2002-01-09 02:08 UTC
From: iceman at icenet dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: AIX 4.2.1.0
Private report: No CVE-ID: None
 [2001-09-26 17:03 UTC] iceman at icenet dot org
When I compile php4.0.6 or php3.0.18 as a static module everything is compiling just fine with Apache 1.3.20.

When I try to execute via apachectl start or startssl apache just dies before writing to any log files. When I not include php modules php starts just fine. I am lost as to why. Below is what I used to compile php this way.

./configure  --with-mysql=/usr/local/mysql --enable-track-vars --with-xml --with-apache=../apache_1.3.20

Next I tried to compile as a DSO which Apache is compiled with the shared support enabled. Apache compiles and runs just fine. When I try to compile php with the following...

./configure  --with-mysql=/usr/local/mysql --enable-track-vars --with-xml --with-apxs=/usr/local/apache/bin/apxs --disable-debug

php4.0.6 gives me the following error...

Making all in .
        /bin/sh /usr/local/dwo/storage/newstuff/php-4.0.6/libtool --silent --mode=link gcc  -I. -I/usr/local/dwo/storage/newstuff/php-4.0.6/ -I/usr/local/dwo/storage/newstuff/php-4.0.6/main -I/usr/local/dwo/storage/newstuff/php-4.0.6 -I/usr/local/apache/include -I/usr/local/dwo/storage/newstuff/php-4.0.6/Zend -I/usr/local/mysql/include/mysql -I/usr/local/dwo/storage/newstuff/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/dwo/storage/newstuff/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/dwo/storage/newstuff/php-4.0.6/TSRM  -DAIX=42 -DAIX_BIND_PROCESSOR -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -O2   -o libphp4.la -rpath /usr/local/dwo/storage/newstuff/php-4.0.6/libs -avoid-version -L/usr/local/mysql/lib/mysql  -R /usr/local/mysql/lib/mysql stub.lo  Zend/libZend.la  sapi/apache/libsapi.la  main/libmain.la  regex/libregex.la  ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la  TSRM/libtsrm.la -ldl -lmysqlclient -lbind -lm -ldl
ld: 0711-711 ERROR: Input file .libs/libphp4.lax/libmain.al/main.lo is empty.
        The file is being ignored.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.


Stop.

---------------------------------------------------------

I am at my wits end... please let me know what other information I can give to help me to be able to use PHP with my installation.

Thanks in advance!!!   --DuWayne

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-19 07:22 UTC] lobbin@php.net
Can you try this with PHP 4.1.0? And also show some output where .libs/libphp4.lax/libmain.al/main.lo is compiled.


R.

 [2002-01-09 02:08 UTC] lobbin@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 22:03:37 2021 UTC