apache and PHP4

Dpk dpk@egr.msu.edu
Thu, 12 Oct 2000 13:27:22 -0400


On Thu, Oct 12, 2000 at 01:05:49PM -0400, Scott Overfield 7239 wrote:

   Does anyone have any experience building apache with php4?
   (./configure --activate module=src/modules/php4/libphp4.a
   configure can not seem to find the php4 module under src/modules,
   I have looked for the php4 subdir in the modules dir  and is not
   there

Make sure you have downloaded the PHP source from www.php.net.  You
will want to unpack/install it (The README/INSTALL files with the PHP
distribution are fairly helpful):

tar zxf php-4.0.3.tar.gz
cd php-4.0.3
./configure --what-ever-options-you-need
make
make install

cd ../apache-1.3.12
./configure  --activate module=src/modules/php4/libphp4.a
make 
make install


Hope this helps.

Dennis