Change PHP version & limits
Steps
- Go to Websites → [site] → PHP.
- Adjust:
- PHP version — pick a supported version your app is compatible with.
- Memory limit — raise if you hit "allowed memory size exhausted".
- Max execution time — raise for long tasks like imports.
- Save. Changes apply to your site shortly after.
Tips
- Test PHP version upgrades on staging first — some plugins/themes lag behind.
- Only raise limits as needed; very high values can mask real problems.
Troubleshooting
- Site errors after a version change — switch back to the previous PHP version and update your plugins/theme first.
- Still hitting limits — check for a runaway plugin; higher limits are a stopgap, not a fix.
Related: Use a staging site · Manage plugins, themes & WordPress core