Changing managed hosting PHP settings and versions

Get details on how to change the PHP settings and version for your account. Included are instructions to make the change on all relevant hosting.com account types.

This article discusses how to change the PHP settings and version for your account. The methods to do this depend on the type of hosting account that you have.

Changing PHP settings

PHP enables you to change many configuration settings. How you do this, however, depends on the type of hosting account you have:

  • Shared hosting reseller hosting and Managed WordPress accounts that have CageFS enabled: For accounts on servers that have CageFS enabled, you use cPanel or Plesk to control PHP settings.

    • For more information about changing settings in cPanel, please see this article.

    • For more information about changing settings in Plesk, please see this article.

  • Managed VPS and Managed Dedicated Servers activated on or after January 16, 2014, or any server that runs PHP as an Apache module: For these servers, you use custom .htaccess files to control PHP settings. For more information about how to do this, please see this article.

  • Managed VPS and Managed Dedicated Servers activated before January 16, 2014: For these servers, you use custom php.ini files to control PHP settings. For more information about how to do this, please see this article.

Changing the PHP version

As with PHP settings, the method to change the PHP version depends on the type of hosting account you have:

  • Shared hosting, reseller hosting, and Managed WordPress accounts that have CageFS enabled:

    • For information about changing versions in cPanel, please see this article.

    • For information about changing versions in Plesk, please see this article.

  • All Managed VPS and Managed Dedicated server accounts: To change the PHP version for one of these accounts, open a support ticket at https://my.hosting.com. Please include in the ticket which PHP version you would like to use.

    📘

    Note

    Please note that your server will be unavailable for 15 to 20 minutes while we compile the new PHP version.

Related Articles