Originally posted by ahoo
Yes. I got the error message after remove the '@' sign in front of mysql_connect().
The message is:
Fatal error: call to undefined function: mysql_connect() in /var/www/html/myfolder/myconnectdb.php on line XX
I had reinstall both mySQL and PHPmyAdmin, but still can't connect to my DB using PHP. Then I also have problem during installing the PHP-MYSQL 4.2.2-8.0.7. The program said some package can't be found and quit the installation.
Please give me a idea on this. Thanks.
Had the same problem recently.
The packages for PHP4.2.2-8.0.7 were installed, but I could only find php-mysql-4.2.2-8.0.5 on redhat's site.
I finally found the right rpm at this link.
[url]ftp://updates.redhat.com/8.0/en/os/i386/php-mysql-4.2.2-8.0.7.i386.rpm[/url]
Do a search on redhats site for packages, use just the letters php and scan through the results for all the packages.
Here's a thread about that problem right here on the forums.
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10233442