How to Change PHP Version and Restart PHP for a Website in Enhance

December 2, 2025 / Enhance

Change PHP Version

Each website on Enhance can control its own PHP version. By default, PHP version 8.4 is applied to all new websites. Any additional domains mapped to the same website (add-on domains) automatically use the same PHP version as the primary domain.

Available PHP versions include

8.4 (Latest), 8.3 (LTS), 8.2 (LTS), 8.1 (LTS), 8.0, 7.4, 7.3, and 7.2.

Understanding PHP Version Tags

  • Latest Version: The latest stable PHP version available.
  • LTS: Long-term support versions that are stable and receive regular patches.
  • Unlabelled: End-of-life versions that no longer receive bug fixes or security updates.

How to Change a Website’s PHP Version?

  1. Open Websites in the left sidebar.
  2. Select the website you would like to update the PHP version on.
    website disk usage
  3. When the website dashboard loads, select Advanced in the top navigation.
  4. Select Developer tools.
    advanced>developer tools
  5. Scroll to PHP Versions. 
  6. Select your preferred PHP version from the dropdown.
    developer tool
  7. A confirmation modal will appear; select Update to finish.
    update PHP version

Warning: Before changing your site’s PHP version, please check compatibility with any PHP applications running on your site. Some PHP versions include breaking changes.  

Restart PHP

Each primary website on Enhance has its own PHP container. It is possible to restart this container without impacting other websites in your account. 

Restarting a website’s PHP container will reload the php.ini and the redis.conf for this site and its addon, aliases and subdomains domains. It will also terminate any stuck PHP workers and allow for new requests to be served. 

To restart a website’s PHP container: 

  1. Open Websites in the left sidebar.
  2. Select the website you want to restart PHP for.
  3. When the dashboard loads, click Advanced at the top.
  4. Select Developer tools.
  5. Scroll to PHP.
  6. Under Restart PHP container, click Restart.
    PHP extensions
  7. A confirmation modal will load. Select Restart.
    restart php container

Warning:
Your website will go offline briefly while the PHP container restarts.

Ready for more? Discover How to Create Email Accounts, Manage DKIM, Catch-All Emails & Databases in Enhance

Spread the love