You need to compile PHP with MySQL support. There is a php-mysql.rpm package, but I'm not sure if it will work with MySQL 5. You might just have to recompile PHP (but probably not).


Iain Wiseman wrote:

Cole S. Ashcraft wrote:

They are at

Iain Wiseman wrote:


Sure this has been asked but I want to use the new mysql 5.0 rather than downgrade and I want to use a package installer so I can take it off if it does not work.

Are there rpms for Redhat 9.0 to enable PHP to work with MySql 5.0

I am assumming (and maybe incorrectly) that this is my problem for

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/guestbook/guest.config.php on line 14



I have dowloaded and installed


However I still get the error. I seems pretty common when I put it into google. There used to be a package call php-mysql-4.2.2-17.i386.rpm that seemed to do the neccesaries for PHP. Added a mysql.ini and put a library into the php extension directory.

What does this for 5.0? And what steps do I need to do to analyze the error. Obviously I can connect to my database from the command prompt.



This message has been scanned for viruses and
dangerous content by MailScanner on, and is believed
to be clean.
Please report any deviance from this condition immediately to the AFN
Administrator at [EMAIL PROTECTED]

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to