Web Hosting Talk







View Full Version : PHP can't connect to MySQL


aspen
06-21-2002, 11:06 AM
I get this error in some of my PHP scripts:

Fatal error: Call to undefined function: mysql_connect()

But oddly enough phpMyAdmin is working fine, I've got ensim on redhat.

I think it might be a php.ini issue but I can't see any problems.

aspen
06-21-2002, 11:16 AM
I fixed it be reinstalling an ensim php upgrade. I'm guessing some file just got corrupted.