[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP 4 / MySQL 3.23.XX - Fatal Error / mysql_connect() - PHP support not compiled
- Subject: Re: [cobalt-users] PHP 4 / MySQL 3.23.XX - Fatal Error / mysql_connect() - PHP support not compiled
- From: Jens Kristian Søgaard <jens@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu Apr 19 01:01:10 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi Jason,
> Apparently PHP was not compiled with MySQL support, though
> PHP works (e.g. dbinfo()) and MySQL works independently.
> What is the quickest/safest fix to this issue without impacting
> the PHP scripts currently used for system administration?
It _is_ compiled for MySQL support.
You just need to edit the /etc/httpd/php.ini file and add this line:
extension=mysql.so
And then reload the webserver.
No problem.
--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/