Knowledgebase article

How to change the PHP version and PHP settings in cPanel

Each website has its own taste. A modern WordPress site loves the latest PHP, while an old script might only feel at home with an older version. Romeo lets you choose.

Change the PHP version

  1. Log in to cPanel and go to Software > Select PHP Version.
  2. At the top you'll see your Current PHP version. Pick another version from the drop-down.
  3. The change applies immediately. Open your website and make sure everything looks fine.

Romeo's tip: Use PHP 8.1 or newer for WordPress and other modern apps. They're faster and still get security updates. Switch back if your site shows errors after the change.

Turn PHP extensions on or off

On the same Select PHP Version page, the Extensions tab lists modules such as imagick, intl, zip, soap or ioncube_loader. Tick an extension to enable it; untick to disable. Changes are saved automatically.

Change PHP limits (upload size, memory, execution time)

Click the Options tab and adjust, for example:

  • upload_max_filesize and post_max_size: increase them to upload bigger files or themes
  • memory_limit: for heavy plugins
  • max_execution_time: for long-running scripts and imports

Click a value, choose the new one, and it's applied.

Different PHP for different domains

Hosting several websites? Use Software > MultiPHP Manager to set a PHP version per domain: tick the domain, choose a version under PHP Version and click Apply. Use MultiPHP INI Editor to change settings per domain.

Seeing "500 Internal Server Error" after a change?

Switch back to the previous version, then open a ticket with the website name. Romeo will find out what your site needs.

Was this answer helpful?

Related articles

Still stuck? Romeo's got you.
Our support team replies around the clock, real humans who know your server.