Short answer
In DirectAdmin, open the PHP version selector for your domain and pick the version you want. The change applies straight away, and switching back is just as quick if something breaks.
Before upgrading a live site, check that your CMS, theme and plugins support the new version. For WordPress, update everything first, then change PHP — that order avoids most problems.
Learn more
- How to change the PHP version in DirectAdminSwitch a domain or subdomain to a different PHP version in DirectAdmin, test the result and roll back instantly if something breaks.
- Choosing a PHP version: compatibility and support datesHow to pick a PHP version for your site, what changed between 7.4 and 8.x that breaks old code, and why staying on old versions is risky.
- Choosing the right PHP version for WordPressWhich PHP version WordPress runs best on, how to check plugin compatibility, and how to switch PHP versions on Traxio without breaking the site.
Step-by-step
- Upgrade your site to a newer PHP version safelyIntermediate · 30 min · 7 steps
Not with Traxio yet? You can try this on a real server with our free PHP hosting trial: 30 days free with no card, then £0.99 a month.