• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

More MySQL probs since upgrade

C

colinjack

Guest
I have looked through some of the other posts regarding MySQL problems but not been able to nail this one. I am not an SQL wizard, so would appreciate some help.

Since the upgrade from 7.5.6 to 7.6 we have a client getting:

Fatal error: Call to undefined function mysql_connect() in ....

Code snip:

$dbConn = mysql_connect("localhost",'editor','R9do4Yh');

This worked fine before.
Anybody able to help?

Thanks

Colin
 
You may have to recompile PHP with mysql. It appears that PHP isn't recognizing the mysql commands.
 
Sorry, I see you are on windows. You will have to get an updated mysql library and set it up in php.ini.
 
Thanks - I found the problem. The php.ini had all the extensions commented out! Odd!

Colin
 
Back
Top