On Monday 05 January 2004 11:55, Richard Bewley wrote:
I compiled mySQL 4.0.16 from source, and installed PHP 4 off the RH9 cd.
I also have the php-mysql-4.2.2-17 rpm installed. But for some reason, I
keep getting call to undefined function mysql_connect, and it won't
connect to the mysql database. Any ideas?
Either install both from source or both from RPMs. The file locations and
default configs used by RH can be different from the bog-standard mysql
install so there lies your problem.
I recommend that you install mysql from the official rpms and apache/php from
source. That way everything can be updated without relying on RH.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
Love sometimes expresses itself in sacrifice.
-- Kirk, Metamorphosis, stardate 3220.3
*/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php