• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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