Pick a PHP version for WordPress
WordPress runs on PHP. Newer PHP versions are faster and get security fixes. Old versions stop receiving fixes. Pick the newest version your plugins support.
Which version
| PHP | Status |
|---|---|
| 8.5 | Newest. Use it once your plugins support it |
| 8.4, 8.3 | Best choice for most sites |
| 8.2 | Fine if a plugin lags. Security fixes end on December 31, 2026 |
| 8.1 and older (back to 5.6) | Out of security support. Plan an upgrade |
WordPress's own requirements change. Check Tools → Site Health in wp-admin, which also recommends a version.
Change it
- Open Account → Hosting → your site → Performance → Choose PHP for each site.
- On your site's card, choose a PHP version and click Save. We check the site loads on the new version, and put the old one back if it doesn't.
See Change PHP version and extensions.
Test safely
- Back up. See Back up and restore WordPress.
- Make a staging copy and check your plugins there first. See Stage or clone.
- Click through pages, forms, checkout, and wp-admin.
- Check the error log. See Read your site's error log.
- Apply to live.
After a change
| Symptom | Fix |
|---|---|
| White screen | Switch back. See Fix the WordPress white screen |
| Deprecated notices | A plugin needs updating, or replacing |
| Missing function | Turn on the PHP extension in Performance → Extensions. See Change PHP version and extensions |
| Slower or timeouts | Check memory limit |
Check the version in use
wp --info | grep "PHP binary"
php -v
Still stuck? Ask us and we'll walk you through it.
