Subject: Re: Package apache php3 mysql
To: Markus Illenseer <markus@core.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 10/02/2000 10:26:16
On Sun, Oct 01, 2000 at 11:04:42AM +0200, Markus Illenseer wrote:
>  I still fail to run the apache package with php3 and mysql :-(
> 
>  The above does not the trick for me. It does not matter what is configured in
> /usr/pkg/etc/php3.ini - httpd will seg-fault when started with the option 
> 
> LoadModule php3_mysql_module /usr/pkg/lib/php3/mysql.so
> 
>  defined in httpd.conf.

You shouldn't do that. lib/php3/mysql.so is a php3 module and should be loaded
by php3, not apache. Apache should load the php3 module:

LoadModule php3_module lib/httpd/mod_php3.so
AddModule mod_php3.c 
in httpd.conf; and then php3 should load the mysql module:
extension_dir=/usr/pkg/lib/php3
extension=mysql.so
in etc/php3.ini

I have this on 1.4.2/sparc, but for i386 it should be the same.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--