How to change PHP version

At Actiefhost you can easily change the PHP version of your website using the DirectAdmin control panel.

This is useful when:

  • Your website requires a specific PHP version
  • You want to upgrade to a newer PHP version
  • You need to run an older script that requires an older PHP version

Step 1: Login to DirectAdmin

Login to your hosting control panel:

https://yourdomain.com:2222

Step 2: Open Select PHP Version

In the DirectAdmin dashboard locate the option:

Select PHP Version

This tool allows you to manage the PHP version used by your website.

Step 3: Select your PHP version

You will see a list of available PHP versions.

Select the version you want to use and click Set as current.

Your website will immediately start using the selected PHP version.

Available PHP versions

Actiefhost currently supports the following PHP versions:

5.2
5.3
5.4
5.5
5.6
7.0
7.1
7.2
7.3
7.4
8.0
8.1
8.2
8.3
8.4
8.5

Important notes

  • Newer PHP versions provide better performance and security
  • Some older scripts may not be compatible with newer PHP versions
  • If your website stops working after changing PHP version, you can always switch back

Was this article helpful?

Share this article