[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Installing php4-mysql 4.2.3-9



> -----Original Message-----
> From: bernhard [mailto:bernhard] On Behalf Of Bernhard Kuemel
> 
> I'm a bit clueless how to activate mysql support with the
> php4-mysql/unstable package. There are no instructions included.

The postinst script for php4-mysql should ask if you want it added to your
php.ini (which is optional, as you could just as easily use
"dl('mysql.so')" in your php scripts).

> LoadModule mysql_module /usr/lib/php4/20020429/mysql.so
> 
> in /etc/apache/httpd.conf results in the following error:

That's because it's a PHP extension, not an Apache module.

> MySQL used to work fine until the php4 package got replaced with
> php4-cgi and php4-mysql when I installed crossfire-server/unstable
> that triggered the installation of a new libc.

This also sounds like an issue.  If php4 got replaced with php4-cgi, you're
not running the Apache module at all anymore (though, this seems rather
odd.  I can't think of any instance where php4 would be forcefully removed
rather than upgraded).  You might want to reinstall php4, then toss
"extension=mysql.so" in your /etc/php4/apache/php.ini.

... Adam



Reply to: