[wp-trac] [WordPress Trac] #57964: Sitehealth recommended improvements - utf8mb4 requires a newer client library
WordPress Trac
noreply at wordpress.org
Thu Mar 23 02:44:14 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 | Resolution:
Keywords: PHP82 2nd-opinion | Focuses:
-------------------------------+------------------------------
Changes (by costdev):
* keywords: PHP82 => PHP82 2nd-opinion
Comment:
`mysqlnd 5.0.9` or later supports `utf8mb4`. This is noted when `mysqlnd`
appears in the client info [https://github.com/WordPress/wordpress-
develop/blob/6.1/src/wp-admin/includes/class-wp-site-
health.php#L1377-L1378 Ref]. When `mysqlnd` does not appear in the client
info, then the `libmysql` recommendation is made.
Before upgrading to use PHP 8.2, server administrators should already be
aware of the need to change to `mysqlnd` for `utf8mb4` support on PHP
8.2+.
The version of `mysqlnd` is the same as the PHP version
[https://github.com/php/php-
src/blob/7b4c7374c3d3adfb690d951f5224ba0f27200364/ext/mysqlnd/mysqlnd.h#L22
Ref], so this shouldn't be a problem when using PHP 8.2+.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57964#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list