Fatal error: Call to undefined function mysql_connect()
When accessing the site, I get an error: "Fatal error: Call to undefined function mysql_connect ()". I create wordpress using WordPress Toolkit.
I tried to fix it in some ways like upgrade version php, enable pdo_mysql and nd_mysql and delete define ('WP_USE_EXT_MYSQL', true); in config.php but not
php: 7.2
WordPress: 5.6.2
Mysql: 5.6
Thanks everyone
-
Hey there! Usually this is an issue because some portion of the site is out of date. Is there a reason the machine is still using MySQL 5.6? Also, have you installed any themes or plugins that may not be up to date? 0 -
Thank you for your response. I have fixed the above error. When I upgrade PHP version using Cloud Linux and WordPress crashes. My PHP with MultiPHP manager is normal I don't know the reason why when upgrading PHP with CloudLinux failed 0 -
If you purchased your CloudLinux license through cPanel we'd be happy to take a look at that if you submit a ticket to our team. 0
Please sign in to leave a comment.
Comments
3 comments