Knowledge Base

How to Switch PHP Versions in DirectAdmin

DirectAdmin logo

This article will show you how to switch PHP versions in DirectAdmin.


1. Check What Your Application Needs

Software has a supported range. Moving outside it can break the site, so confirm before changing anything.

2. Log In to DirectAdmin

Use the credentials from your welcome email.

Log In to DirectAdmin

3. Open Select PHP Version

Find it under Extra Features or Advanced Features, depending on your version.

4. Choose the Version

Select from the versions your provider has installed. Some setups allow a different version per domain.

5. Save the Change

The change takes effect immediately.

6. Test the Site

Load the site and check the pages that do the most work. If something breaks, switch back and take it up with the software vendor.


Next: if the site errors after the change, see How to Fix a 500 Internal Server Error.

Please rate this article to help us improve our Knowledge Base.

0 0