Ahh but alas the plot to my grief thickens...
I started to rebuild from scratch putting the source
for apache in /build/apache-1.3.12 and the source
for php in /build/php4
I start with apache-1.3.12 using the following command:
./configure --sysconfdir=/etc/httpd \
--datadir=/home/httpd \
--logfiledir=/var/log/httpd \
--enable-module=most \
--enable-shared=max \
--disable-rule=WANTHSREGEX
then I run
make
So far so good
Then I build php4.0.1pl2 or php4.0.0.as follows :
./configure --with-apache=/build/apache1.3.12 \
--with-config-file-path=/etc/httpd \
--with-mysql=/usr/local/mysql \
--with-system-regex \
--with-ftp \
--with-gd \
--with-zlib \
--enable-track-vars
So far every thing looks ok
make
make install
still no complaints.
However when I go back to apache
cd /build/apache1.3.12
./configure --activate-module=src/modules/php4/libphp4.a
no complaints...Yet!
make
well I guess you could say it complains eventually I get the following:
gcc -DLINUX=2 -I/build/php-4.0.0 -I/build/php-4.0.0/Zend -I/build/php-4.0.0/Zend -I/build/php-4.0.0
-DUSE_EX
PAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci -o rotatelogs -L../os/unix -L../ap rotatelogs.o -lap -los
-rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lz -lgd -lre
solv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
gcc -c -I../os/unix -I../include -DLINUX=2 -I/build/php-4.0.0 -I/build/php-4.0.0/Zend -I/build/php-4.0.0/Z
end -I/build/php-4.0.0 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci logresolve.c
gcc -DLINUX=2 -I/build/php-4.0.0 -I/build/php-4.0.0/Zend -I/build/php-4.0.0/Zend -I/build/php-4.0.0
-DUSE_EX
PAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci -o logresolve -L../os/unix -L../ap logresolve.o -lap -los
-rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lz -lgd -lre
solv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
gcc -c -I../os/unix -I../include -DLINUX=2 -I/build/php-4.0.0 -I/build/php-4.0.0/Zend -I/build/php-4.0.0/Z
end -I/build/php-4.0.0 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci ab.c
gcc -DLINUX=2 -I/build/php-4.0.0 -I/build/php-4.0.0/Zend -I/build/php-4.0.0/Zend -I/build/php-4.0.0
-DUSE_EX
PAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci -o ab -L../os/unix -L../ap ab.o -lap -los -rdynamic -Lmo
dules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lz -lgd -lresolv -lm -ldl -l
crypt -lnsl -lresolv -lm -lcrypt
make[2]: Leaving directory /build/apache_1.3.12/src/support'
<=== src/support
make[1]: Leaving directory/build/apache_1.3.12'
<=== src
At the risk of being redundant I would like to point out that I get the same error with php4.0.0 and
php4.0.1pI2
I went back to php3.x.x 🙂 but I would like to progress to php4.x.x 😉
Any help is greatly appreciated!!