[wp-trac] [WordPress Trac] #57964: Sitehealth recommended improvements - utf8mb4 requires a newer client library

WordPress Trac noreply at wordpress.org
Tue Mar 21 17:01:37 UTC 2023


#57964: Sitehealth recommended improvements - utf8mb4 requires a newer client
library
-------------------------+-----------------------------
 Reporter:  ipajen       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Site Health  |    Version:
 Severity:  normal       |   Keywords:  PHP82
  Focuses:               |
-------------------------+-----------------------------
 WordPress: 6.2-RC2
 Sitehealth recommended improvements - utf8mb4 requires a newer client
 library

 UTF8MB4 is the character set WordPress prefers for database storage
 because it safely supports the widest set of characters and encodings,
 including Emoji, enabling better support for non-English languages.

 Your MariaDB version supports utf8mb4.

 WordPress’ utf8mb4 support requires MySQL client library (libmysql)
 version 5.5.3 or newer. Please contact your server administrator.

 {{{

 from phpinfo.php
 mysqli
 Client API library version      3.1.20
 Client API header version       10.4.28-MariaDB
 mysqlnd
 Version mysqlnd 8.1.16

 In WordPress site health info:
 Extension       mysqli
 Server version  10.4.28-MariaDB
 Client version  10.4.28-MariaDB

 }}}

 https://php.watch/versions/8.2/mysqli-libmysql-no-longer-supported

 With PHP 8.2 should this recommended be given as libmysql no longer
 supported in PHP 8.2. Does any version of mysqlnd support utf8mb4 instead
 and should be the recommendation instead?

 Note: Running PHP 8.1 on production site and my local PHP 8.2 doesn't use
 libmysql if this is already fixed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57964>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list