utf8mb4 requires a newer client library error in WordPress


 

Note: This is an issue that only affects CloudLinux PHP Selector. If you are using the PHP selector native to DirectAdmin no changes are necessary.

 

While checking the WordPress ‘Site Health’ status page, you may see ‘utf8mb4 requires a newer client library‘ highlighted

Login to your DirectAdmin account and click on the ‘Select PHP Version‘ icon in the Extra Features section.

On this page you can select the PHP version that you'd like to use and enable or disable specific PHP extensions. You will need to disable the outdated extensions here.

Look for and untick the following extensions:

mysql
mysqli
pdo_mysql

Some of these may not be on the list, depending on which version of PHP you have selected. If the extension is not there, just skip it and disable the other extensions on this list.

Finally, enable their replacements:

mysqlnd
nd_mysqli
nd_pdo_mysql

 

  • wordpress
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Comment / forum spam and how to stop and fight it

This guide explains forum or comment spam and gives quick general tips on how to limit both...

How do I Write a New Post in WordPress?

  WordPress is one of the most popular blogging platforms for a lot of different reasons. One of...

How do I Update my WordPress Installation?

  This tutorial will teach you how to update your WordPress installation. You should be logged...

How to move my WordPress installation

If you spend a little time preparing your own website, migrating is nothing to be concerned...