From:             [EMAIL PROTECTED]
Operating system: AIX 4.2.1.0
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  Problem using PHP3 or PHP4 with Apache 1.3.20

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
-- 
Edit bug report at: http://bugs.php.net/?id=13461&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to