[post] WordPress 6.6 Server Compatibility #243
javiercasares
started this conversation in
Open topics
Replies: 1 comment
-
Copied to the WordPress site: Public preview: https://make.wordpress.org/hosting/?p=106266&preview=1&_ppp=c760326a04 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As we explained in previous posts (WordPress 6.5, WordPress 6.4, WordPress 6.3), for each new version of WordPress, we aim to release an article explaining the compatibility of PHP with the WordPress versions and our team's recommendation for that specific version.
On this occasion, once again, we will explain the details of compatibility, including "beta compatible" or "compatible with exceptions".
So, here you have the compatibility information, this time, for WordPress 6.6.
Hosting Team Recommendation
The Hosting Team's recommendations for WordPress 6.6 are as follows (which may differ from the global ones).
IMPORTANT: These recommendations are intended, primarily, for new installations by hosting providers.
Where does that recommendation come from? We did review some configurations and options, we are going to explain.
WordPress' server requirements
Even if there are more stable software versions, that doesn't mean they are the ones WordPress recommends.
WordPress 6.6 requirements:
NOTE: Dropping support for PHP 7.0 and 7.1.
You can read more at Server requirements.
WordPress' compatibility "at the time"
WordPress 6.6 (released on July 16, 2024) had the following components available (stable or security-maintained versions only, and RC only for informational purposes).
NOTE: PHP has extended the Security Support one extra year for actual (PHP 8.1, 8.2, and 8.3) and new PHP versions.
You can read more at WordPress Compatibility.
WordPress and PHP
PHP is a programming language on which WordPress code is based. This language runs on the server, and it is critical to keep it up to date, both for security and functionality.
WordPress supports many versions of PHP, some even obsolete (PHP Compatibility and WordPress Versions).
WordPress 6.6 (core) is:
(1) SECURITY ALERT: These versions are not officially maintained by PHP, so they are considered insecure and obsolete versions and should not be used in production. Check with your hosting provider about the security maintenance they can do.
What "compatible with exceptions" mean?
PHP 8.0
WP_Filesystem_FTPext
andWP_Filesystem_SSH2
when connect fails. An investigation is underway as to why on some occasions the access to the files returns some type of error. NOTE: Has a patch, but moved to WordPress 6.7.TypeError
orValueError
exceptions on unexpected types/values. Internal functions will throw an exception if the function call arguments are of a type that is not expected. NOTE: Has a patch, but moved to WordPress 6.7.PHP 8.1
_htmlentities()
needs the default value of the flags parameter explicitly set_. According to htmlentities(), the default for flags for PHP 8.1 was "changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401". All use cases for this functionality in WordPress Core are being investigated. NOTE: Has a patch, but moved to WordPress 6.7.strip_tags()
withwp_strip_tags()
.There are rare occasions when the
strip_tags()
function is passed a null value, which generates a warning that the string is deprecated. NOTE: Has a patch.is_serialized
function to acceptEnums
.Enums
are not backwards compatible with older PHP versions. NOTE: Has a patch, but moved to WordPress 6.7.PHP 8.2
utf8_{encode|decode}
deprecation with pending decision on requiring a PHP extension. NOTE: Has a patch, but moved to WordPress 6.7.What "beta" mean?
PHP 8.3
unserialize()
.maybe_unserialize()
function could still be confronted by data with trailing bytes. NOTE: Moved to WordPress 6.7.Upgrading WordPress
Do you have a version earlier than WordPress 6.6? If so, we recommend you visit the Upgrading WordPress page, where you will find information on how to upgrade from WordPress 0.7 to WordPress 6.6.
Props: @luciaalcantara, @Crixu, @annezazu.
Beta Was this translation helpful? Give feedback.
All reactions