back main next
php
files needed
php - http://php.net/downloads.php
Download the php source code to the working directory that you used for
the previous components for apache and:
# tar -zxvf php-4.xx.tar.gz
This will decompress the archive and create a new directory "php-4.xx".
Now cd into that directory.
# cd php-4.xx
configure php and
install it as a module for apache.
./configure --with-apxs=/usr/local/apache/bin/apxs
The above line is assuming that you did not alter the install path of
apache.
Compile php
# make
Install php
# make install
if you configured
apache with mod ssl
Move AddModule
mod_php4.c above the <IfDefine SSL> block
Move LoadModule
php4_module libexec/libphp4.so
above the <IfDefine SSL> block

|