• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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