How to Change Your PHP Version Print

  • 0

Your website runs on a specific version of PHP. Keeping it up to date is important for performance, security, and compatibility with modern software.

Changing the PHP Version

  1. Log in to the Webfort control panel and go to Websites.
  2. Select the website.
  3. Click PHP (or PHP Settings) in the top navigation.
  4. Choose a version from the dropdown.
  5. Click Save.

The change takes effect immediately. If your site breaks, switch back to the previous version and investigate the incompatibility.

Which Version Should I Use?

  • Use the latest stable version supported by your software.
  • WordPress recommends PHP 8.1 or higher.
  • Avoid PHP 7.x — it's end-of-life and no longer receives security updates.

Before Changing Versions

  • Update your CMS, plugins, and themes first — most compatibility issues come from outdated extensions.
  • Test on a staging site if possible — see How to Use Staging Sites.
  • Check your PHP error log after switching — see How to View Your PHP Error Log.

Changing PHP Settings

From the same page you can also adjust settings like memory_limit, upload_max_filesize, and max_execution_time. For upload limits specifically, see How to Increase PHP Upload File Size Limit.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution