Skip to main content

How to Set the System Default PHP Version in WHM

Set the default PHP version for all accounts on your server using the WHM interface. This action ensures that any new accounts or domains created without a specific override will default to your chosen PHP version.

Set the default PHP version for all accounts on your server using the WHM interface. This action ensures that any new accounts or domains created without a specific override will default to your chosen PHP version.

Before you begin

You will need:

  • Server Administrator access to WHM

  • A valid reason for changing the global default (e.g., upgrading the server's base environment)

Set the System Default PHP Version

  1. Log in to WHM.

  2. In the search bar at the top left, type MultiPHP Manager and select it from the results.

  3. Locate the Server Default section.

  4. Find the PHP Version dropdown menu.

  5. Select the desired PHP version from the list.

  6. Click Apply.

Confirm the result

  • The page will refresh, and the Server Default section will display the version you selected.

  • Any existing accounts that do not have a specific override will now be governed by this global default.

Limitations

This change only affects the default setting for new accounts or accounts without a specific override. If a specific domain has been assigned a unique PHP version in the MultiPHP Manager, that domain will remain on its assigned version regardless of the system default.

Did this answer your question?