Choosing the right PHP version for WordPress
Which PHP version WordPress runs best on, how to check plugin compatibility, and how to switch PHP versions on Traxio without breaking the site.
On this page
Newer PHP versions are faster and receive security fixes; old ones don’t. WordPress runs on the current PHP versions Traxio offers — PHP 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4.
Check what you’re running
In WordPress, Tools → Site Health → Info → Server shows the PHP version. Site Health → Status warns if it’s outdated.
Before switching
- Update WordPress, themes and plugins first. Old plugin versions are the usual cause of incompatibility.
- Take a backup. How to back up WordPress
- Ideally, test on a staging copy. Using a subdomain as a staging site
Switch
Change the domain’s PHP version in DirectAdmin. How to change the PHP version in DirectAdmin
Move one version at a time if you’re far behind — say 7.4 to 8.1, test, then 8.3.
Test after switching
- Load the home page and a few inner pages
- Log in to admin
- Submit a contact form
- Complete a test checkout on shops
If something breaks
Switch back to the previous version immediately — it takes effect straight away — then find the culprit in the error log. How to find PHP errors (error logs and display_errors) Usually one plugin or theme needs updating or replacing.
Prefer to follow along?
- Upgrade your site to a newer PHP version safely
Intermediate · 30 min - Speed up a slow WordPress site
Advanced · 60 min
Everything in this guide works on Traxio’s WordPress hosting: £0.99 a month.
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- Fix a WordPress critical error without admin accessFind the plugin or theme behind ‘There has been a critical error’ using logs and the File Manager, disable it, and recover.
- Blank white page: how to find the hidden errorA completely blank page usually means a PHP error that isn’t displayed. How to reveal it with logs and fix the cause.
- “Too many redirects” and HTTPS redirect loopsFix ERR_TOO_MANY_REDIRECTS: conflicting HTTPS and www rules in .htaccess, WordPress settings, plugins and Cloudflare’s SSL mode.
- How to log in to WordPress adminWhere the WordPress login page is, what to do if you’ve forgotten the password or the password reset email never arrives.
Spotted something out of date or unclear? Tell us and we’ll fix it.