Re: Segmentation Fault
[prev]
[thread]
[next]
[Date index for 2005/04/01]
On Apr 1, 2005, at 9:39 AM, Andreas Kr=FCger 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=20
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=09
cd APACHE2
./configure prefix=3D/usr/local/apache2 --with-mpm=3Dprefork =
--enable-dav=20
--enable-so --enable-deflate --enable-maintainer-mode --with-dbm=3Ddb4=20=
--with-berkeley-db=3D/usr/local/BerkeleyDB.4.2
make
sudo make install
=09
cd SUBVERSION
./configure --with-apr=3D/usr/local/apache2=20
--with-apr-util=3D/usr/local/apache2
=09
cd MOD_PERL_2
perl Makefile.PL MP_INST_APACHE2=3D1 =
MP_APXS=3D/usr/local/apache2/bin/apxs
make
make test
sudo make install
=09
cd LIBAPREQ2
perl Makefile.PL --with-apache2-apxs=3D/usr/local/apache2/bin/apxs=
make
make test
sudo make install
cd PHP
./configure --with-apxs2=3D/usr/local/apache2/bin/apxs=20
--with-config-file-path=3D/usr/local/lib/php4.3.9.ini --with-mysql
make
make install
cp php.ini-dist /usr/local/lib/php4.3.9.ini
=09
edit httpd.conf
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php .phtml
 |
(message missing)
|