03-07-04 04:54 PM
I think that php package and Apache is all you need. See README and INSTALL
files from php source.. anyway, the basic compilation process is:
STEP 1
Compile Apache with DSO module.
# ./configure --prefix=/www --enable-module=so
# make && make install
STEP 2
Compile PHP.
# ./configure --with=/www/bin/apxs
# make && make install
# cp php.ini-dist /usr/local/lib/php.ini
STEP 3
Add the following lines to your httpd.conf (/www/conf/httpd.conf).
LoadModule libexec/libphp4.so
AddType application/x-httpd-php .php
Don't forget to change DirectoryIndex variable.
[ Post a follow-up to this message ]
|