Is PHP 8.0 good for WordPress? Can WordPress use PHP 8? Yes, WordPress can use PHP 8, and it is recommended to use PHP 8.0 with WordPress 5.6 or higher version for compatibility and better performance. If you are using an older WordPress version, you can test your site with WordPress 5.6 in a staging environment.
Should I use PHP 8.1 for WordPress? WordPress is not fully compatible with PHP 8.0 or 8.1. All remaining known PHP 8.1 issues are deprecation notices. Please note, a deprecation notice is not an error, but rather an indicator of where additional work is needed for compatibility before PHP 9 (i.e. when the notices become fatal errors).
What version of PHP should I be on? Because PHP 7.4 is the lowest version that is still receiving security updates, you should update your site to at least PHP 7.4. However, running PHP 8.0 or 8.1 is ideal. WordPress itself recommends at least PHP 7.4 for these reasons, and the current version of WordPress requires at least PHP 5.6.
Which PHP version is faster? Benchmark Results
PHP 8.1 is the fastest with CodeIgniter, performing 8.48% more requests per second than PHP 8.0.