Re: Mysql 5.0 Redhat

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

 



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).

Cole

Iain Wiseman wrote:

Cole S. Ashcraft wrote:

They are at http://dev.mysql.com/downloads/mysql/5.0.html.

Iain Wiseman wrote:

Hi,

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

Thanks

Iain



I have dowloaded and installed

MySQL-shared-5.0.0-0
MySQL-server-5.0.0-0
MySQL-client-5.0.0-0
MySQL-devel-5.0.0-0

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 mysql.so 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.

Thanks

Iain



--
This message has been scanned for viruses and
dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed
to be clean.
Please report any deviance from this condition immediately to the AFN
Administrator at admin@xxxxxxxxxxxxxxxxxx

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux