Message-ID:
From: "Carson, Chuck"
Date: Wed, 6 Dec 2000 11:46:21 -0800
Subject: Gettintg apache built with PHP3
I am trying to build Apahce 1.3.14 with PHP3 built statically. PHP3 is being
built with Oracle, MySQL, and XML support. PHP3 will build with these
options, but then Apache fails to build. Next I tried to build PHP3 as a
DSO, and this time PHP3 would not build. I have gotten PHP4 to build as I
desire, but we are using stuff that only works with PHP3.
This is SuSE 7.0.
Has anyone gotten the above to work? I can live w/o the Oracle support, but
definitely need PHP3 with mysql support built statically into Apache.
(regardless, I know the Oracle support is not causing the problems I am
getting)
Here is exactly what I am doing:
tar -xvf apache-1.3.14.tar
cd apache-1.3.14
./configure --prefix=/usr/local/apache --enable-module=all
--enable-shared=max
cd ..
tar -xvf php3-xx.tar
cd php3-xx
./configure --with-apache=/usr/local/src/apache-1.3.14
--with-oracle=/u01/app/oracle/product/8.1.6 --with-mysql=/usr/local/mysql
--with-xml
make
make install
cd apache-1.3.14
./configure --prefix=/usr/local/apache --enable-module=all
--activate-module=src/modules/php3/libphp3.a
make HERE IS WHERE THINGS GO PEAR SHAPED
If I omit optionss above, such as --enable-module=all, --with-oracle,
--with-xml, it still fails. I can see these options and all the apache
modules getting built correctly, it fails later.
If I try and build PHP3 as a DSO, I cannot even get PHP3 to compile.
Can anyone point me in the right direction?
Chuck Carson Sr. Systems Engineer
858.909.3505 Office eBuilt.com
760.212.5899 Mobile San Diego, CA