What I had to do to get php-3.0 built, and working with the
Apache-1.3.0 build:
extract php-3.0 in to a suitable directory. I always use a
directory called 'c', under my own home directory. Its safe
there, so I don't accidently clobber something.
Make sure gd1.3, from www.boutell.com is built, and BE SURE
that you install the libgd.a file in /usr/lib, and the gd*.h
files into /usr/include
I used the do-conf file:
./configure --with-apache../apache-1.3.0 \
--with-gd=/usr/local --with-pgsql
Then, be sure to use 'gmake'. Make sure your apache-1.3.0 is
actually ../ just in the next directory. You can now safely
do a 'gmake install'. It will install the module into the
appropriate apache directory.
Next, cd../apache-1.3.0, and begin by making a do-conf
shell file and make it 755.
I used this: for compatibility with previous apache version:
./configure --compat --prefix=/usr/local/etc/httpd \
--activate-module=src/modules/php3/libphp3.a
Run this, (or your version) and then do 'gmake' only.
Once you know it compiles ok, then start adding modules to
the do-conf file, and re-gmake it.
That should hopefully take you a lot less time than it
took me: