whew, I found it. I looked at my installed rpm's ('rpm -q php') found the install php 4.1.2-7.3.4. Tried to remove ('php -e php*.rpm') got multiple dependent errors. That when I noticed I had about 6 rpm's had installed 6 different flavors of php. I uninstalled all and reinstalled just php-4.1.2-7.3.4.rpm and php-mysql-4.1.2-7.3.4.rpm and finally everything works good.
I noticed that sometime in the past I somehow installed an older version of php but a different version of php-mysql. Not sure how I did that. Usually linux is fairly goof proof when it comes to rpm's. <shakes his head> sometimes I'm my own worst wenzu. -----Original Message----- From: Danny Haworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:54 AM To: [EMAIL PROTECTED] Subject: OT Re: Mysql, PHP and a wrapper -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OT Filter: query , sql Hi Brian, | I'm running apache-1.3.23-14 on a redhat 7.3 system. | I have installed the php-rpm and the php_mysql.rpm from Redhat. | installed php-4.1.2-7.3.4 and php-mysql-4.1.2-7.3.4. | | Cannot connect to my mysql-3.23.49-3 database. | | If I use "mysql_connect()" only, I get "Fatal error: Call to undefined | function: mysql_connect() in /var/www/html/admin.php on line 9" I had massive problems with the redhat php rpm's.. get the source from the php homepage and include the option '--with-mysql' in the './configure' arguments. HTH danny - -- Danny Haworth =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Ge2 System Administrator Gas~Elec Safety Systems Tel : 01895 422 997 Email : [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9kWukUKf+497XC3QRAhU6AJ0eK4hnb8ARkJ1QJHTLg24mN5nV2gCeJl4M Bbd+8gXfFtsDpu2HCu/DgjI= =ZBdO -----END PGP SIGNATURE----- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php