Knowledgebase

Managing PHP Versions

cPanel's MultiPHP Manager lets you change which PHP version your domains use. This is useful when your website or application requires a specific PHP version to run properly.

Accessing MultiPHP Manager

  1. Log in to cPanel
  2. Navigate to the Software section
  3. Click MultiPHP Manager

Changing PHP Version for a Domain

  1. In MultiPHP Manager, find the domain you want to update
  2. Check the box next to the domain
  3. Select the desired PHP version from the PHP Version dropdown at the top
  4. Click Apply

The change takes effect immediately.

Checking Current PHP Versions

The MultiPHP Manager page displays a list of all your domains with their currently assigned PHP version shown in the right column. This makes it easy to see at a glance what each site is running.

Choosing the Right PHP Version

When selecting a PHP version, consider:

  • Application requirements: Check your CMS or framework documentation for supported PHP versions. WordPress, for example, lists recommended versions on their requirements page.
  • Security: Older PHP versions eventually stop receiving security updates. Use a supported version whenever possible.
  • Compatibility: Newer PHP versions may deprecate functions your site relies on. Test thoroughly after upgrading.

Troubleshooting

Site shows errors after changing PHP version: Switch back to the previous version and check your application's compatibility requirements. You may need to update plugins, themes, or code before upgrading.

PHP version keeps reverting: This can happen if your application includes an .htaccess rule that sets a specific version. Check your site's .htaccess file for any PHP handler directives.

Changes not taking effect: Clear your browser cache and any site caching plugins. If using a caching service like Cloudflare, purge the cache there as well.

Was this answer helpful?

0 Users Found This Useful

Powered by WHMCompleteSolution