Compiling Apache, mod_perl, php with DSO|
There is a good linke here but if it disappears, the main steps I took are below.
This was attempted with apache 1.3.27, mod_perl 1.27 and php 4.2.3
Explode all three source tars.
Do mod_perl first
perl Makefile.PL APACHE_SRC=../apache-1.3.27/ DO_HTTPD=1 \ USE_APACI=1 APACHE_PREFIX=/usr/local/apache EVERYTHING=1 \ APACI_ARGS='--enable-shared=perl,--enable-module=so,--enable-module=most'Now do a make and make install. The thing is this actually compiles and installs both mod_perl and apache (you don't have to compile apache separately
Now do PHP.
./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf/ --with-mysql \ --enable-track-varsNow do a make and make install
I believe that when you compile php it auto updates the httpd.conf file (except for the AddType bit) for the module loading etc. etc.
pablo , 2003-08-20 21:18:17