On Apr 1, 2005, at 9:39 AM, Andreas Krüger wrote:
All you need to do is rebuild php.
Ehm, in what way?
So, I first need to build mod_perl, THEN build php?
This is my build order notepad that i refer to when updating. It should help.
download: apache2 - httpd.apache.org berkeleydb - sleepycat.org libapreq2 - httpd.apache.org mod_perl2 - perl.apache.org php 4.x - php.net subversion - subversion.tigris.org
cd APACHE2
./configure prefix=/usr/local/apache2 --with-mpm=prefork --enable-dav --enable-so --enable-deflate --enable-maintainer-mode --with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.2
make
sudo make install
cd SUBVERSION
./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
cd MOD_PERL_2 perl Makefile.PL MP_INST_APACHE2=1 MP_APXS=/usr/local/apache2/bin/apxs make make test sudo make install cd LIBAPREQ2 perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs make make test sudo make install
cd PHP
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/lib/php4.3.9.ini --with-mysql
make
make install
cp php.ini-dist /usr/local/lib/php4.3.9.ini
edit httpd.conf
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php .phtml