[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



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/