Do you recommend PHP 8 for a WordPress site?

Yes, PHP has introduced the JIT compilation engine which brings benefits, but they are mostly for applications that have other features. JIT will be fine for CPU-intensive applications, for calculations, but the improvement you’re going to see in WordPress won’t be very relevant, at least for now that’s what it looks like in recent versions of PHP 8.

Now speaking of compatibility, it is true that WordPress is compatible with PHP 8 but what I don’t know is how much support you are going to get for the plugins. If your website uses plugins that are not that up-to-date, they still do not support PHP 8. I recommend you try before doing any migration.

Maybe it’s a bit early to upgrade, since you don’t get a noticeable performance improvement and there is still support for PHP 7.4.

See also  HTML buttons with the BUTTON tag
Loading Facebook Comments ...
Loading Disqus Comments ...