How do I change PHP version?

21 views

How do I change PHP version?

Overview

Changing your PHP version can improve website performance, security, and compatibility. Some applications like WordPress plugins or themes may require a specific PHP version to function correctly.

Step-by-Step Guide

Log in to your DirectAdmin control panel

Go to Account Manager

Click Domain Setup or MultiPHP Manager (name may vary depending on configuration)

Select the domain you want to change

Look for the PHP Version selector

Choose your preferred PHP version from the dropdown list

Click Save or Apply Changes

Recommended PHP Versions

For best performance and compatibility:

  • PHP 8.5 or higher is recommended for most modern websites
  • Older websites may require older PHP versions (not recommended long term)

Important Notes

Changing PHP version may affect website functionality Always ensure your themes and plugins are compatible before upgrading Newer PHP versions are generally faster and more secure If your site breaks after changing PHP, revert to the previous version

Common Issues & Fixes

Website shows errors after PHP change Switch back to the previous PHP version

Blank page or 500 error A plugin or theme may not be compatible with the selected PHP version

Option not available in control panel Your hosting plan may use a fixed PHP version or require support changes

Need Help?

If you are unsure which PHP version to use or your website stops working after a change, our support team can check compatibility and adjust it for you.

Top