CloudLinux

Select PHP Version in cPanel: enable extensions and PHP options (CloudLinux)

Use the CloudLinux Select PHP Version tool in cPanel to choose the account PHP version, enable extensions such as ionCube, intl or imagick, and change PHP options.

IntermediatecPanel hosting2 min read

MdmHost cPanel hosting runs on CloudLinux, which adds the Select PHP Version tool (the CloudLinux PHP Selector). It lets you pick your account's PHP version and switch individual extensions and settings on or off without asking support. Many apps, such as WHMCS (ionCube) or image-heavy shops (imagick), need this.

Before you start

  • Know which extensions your application requires; its installation guide or error message usually names them.
  • Read MultiPHP Manager to understand how both PHP tools fit together.

Choose the PHP version

  1. Open cPanel → Software → Select PHP Version.
  2. At the top, Current PHP version shows the active version. Open the drop-down and choose, for example, 8.3.
  3. The change applies right away to domains that use the Selector. native means the server default from MultiPHP Manager is used and the extension list cannot be edited.

Note: If a domain has its own version set in MultiPHP Manager, that domain may ignore the Selector. For a domain to follow Select PHP Version, set it to inherit in MultiPHP Manager, or choose the matching alt-php version there.

Enable or disable extensions

  1. On the Extensions tab, tick the extensions you need. Each change saves automatically.
  2. Common choices:
    ExtensionNeeded by
    ioncube_loaderWHMCS and other encoded PHP software
    intlLaravel, Magento, multilingual sites
    imagickBetter image processing in WordPress
    sodium, opensslModern encryption libraries
    zip, gd, mbstring, curlMost CMSs
    redis, memcachedObject caching (if the service is available)
    opcacheFaster PHP by caching compiled code
  3. Click Reset to default if you want the standard set back.

Change PHP options

  1. Open the Options tab.
  2. Click a value to change it. Typical changes:
    • memory_limit: 256M or 512M for WooCommerce
    • upload_max_filesize and post_max_size: 128M for large uploads (post_max_size should be equal or larger)
    • max_execution_time: 300 for imports
    • max_input_vars: 5000 for big menus or page builders
    • display_errors: Off on live sites
  3. Changes save automatically and apply within a few seconds.

Values are capped by your plan's resource limits. The MultiPHP INI Editor changes the same settings for domains on EasyApache PHP.

Check the result

Create info.php with <?php phpinfo(); in the site root, open it, confirm the version and that the extension appears, then delete the file.

Troubleshooting

  • "Site requires ionCube Loader" even after ticking it: the domain is not using the Selector version. Check MultiPHP Manager.
  • Extensions greyed out: the current version is native. Choose a numbered version.
  • Conflicting extensions: some pairs (for example mysql and nd_mysql) cannot be enabled together. The Selector warns you; untick one.
  • 500 errors after a change: undo the last change and check the error log.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.