Just checking from fellow CentOS and Wordpress users. Last time, a year ago, I tried upgrading PHP 7.4 to 8.0 it gave massive issues with WP. Is this now a safe option? My CentOS is 8.5.11.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Nearly Normal,
I’ve looked around and it seems like the currently supported PHP versions for WordPress are:
PHP Version 7.4 (Security Support, ends on 28/11/2022)
PHP Version 8.0 (Active Support, ends on 26/11/2022)
PHP Version 8.1 (Active Support, ends on 25/11/2023)
This means it should be safe to upgrade your PHP version to 8. Having said that, if you think there might be issues, I’ll recommend creating a snapshot of your Droplet prior to upgrading the PHP version.
These are the recommended combinations of versions for WordPress: https://wordpress.org/about/requirements/
Were your massive issues related primarily to WordPress, or the third-party plugins/themes you might have been using which were not updated to support PHP 8?
Hello,
In addition to what has already been mentioned, I wanted to point out that CentOS Linux 8 has reached End Of Life (EOL) on December 31st, 2021.
I would strongly recommend planning either migration to another OS like Debian or Ubuntu, or upgrading to CentOS Stream.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.