Changing PHP versions and settings in Enhance

Learn how to change the PHP version and settings from one convenient interface in Enhance Control Panel.

Changing the PHP version

To change the active PHP version, follow these steps:

  1. Log in to your Enhance control panel.
  2. In the left sidebar, click Websites:
  1. On the Manage websites page, click the website you want to manage.

  2. A list of tabs appears at the top of the page. Click the Advanced tab, and then click Developer tools:

  3. In the PHP section, in the Version list box, select the PHP version you want to use for your site:

  4. Click Update.

🚧

Important

Make sure the new PHP version is compatible with any applications you are running. Otherwise, your website may not work correctly.

Changing PHP settings

You can change php.ini directives to customize your PHP environment. To do this, follow these steps:

  1. Log in to your Enhance control panel.
  2. In the left sidebar, click Websites:
  1. On the Manage websites page, click the website you want to manage.

  2. A list of tabs appears at the top of the page. Click the Advanced tab, and then click Developer tools:

  3. In the sidebar, click php.ini editor:

  4. In the php.ini editor section, click Add directive:

  5. In the Directive text box, type the name of the directive you want to configure:

  6. In the Value list box, select Text or Boolean:

    1. For a text value, type the value in the Text text box.
    2. For a boolean value, click Enable or Disable.
  7. Click Create. The directive appears in the list of configured directives.

  8. To make the new php.ini settings take effect, follow these steps:

    • In the left sidebar, click PHP.
    • In the Restart PHP container section, click Restart.

Related articles