Skip to main content

How to Change a Website's PHP Version in Windows Control Panel

You can change the PHP version for a specific website using the Windows Control Panel (WCP). This allows you to update your site's environment or roll back to a previous version if a change causes issues.

Before you begin

You will need:

  • An active Windows Control Panel (WCP) account.

  • The website domain or IP address configured for the website in your WCP account.

Change the PHP version

  1. Log in to the Windows Control Panel.

  2. Select the website you wish to modify from the list of available sites.

  3. Navigate to Website settings > PHP Settings.

  4. Locate the PHP Version selection menu.

  5. Select the desired version from the list.

  6. Click Save or Update.

Confirm the result

  • The system will process the change. Once complete, the "Current Version" indicator in the PHP settings area will display the version you selected.

  • Visit your website in a web browser to ensure it loads correctly.

If the website becomes inaccessible after the change

If your website displays a "500 Internal Server Error" or a blank page immediately after changing the PHP version, the site may not be compatible with the new version.

  1. Log back into the Windows Control Panel.

  2. Navigate back to the PHP Settings for that site.

  3. Select the previous PHP version.

  4. Click Save.

Limitations

The available PHP versions are determined by the specific server environment and the features enabled on your Hostek account. Some legacy features may not be available on newer PHP versions.

Did this answer your question?