How to Turn On PHP Extensions (Imagick, ionCube, Intl and More) with Select PHP Version

When a plugin or script complains that "the PHP extension intl is not installed", "Imagick is missing" or "ionCube Loader is required", you can usually fix it yourself in a couple of minutes. This guide shows how to turn on PHP extensions with Select PHP Version in cPanel, how it fits with MultiPHP Manager, how to check the extension is really loaded, and what to do when it isn't.

What a PHP extension is

PHP is the language most websites (WordPress, WooCommerce, Joomla, many custom scripts) are written in. The core of PHP does the basics; extensions are add-on modules for specialist jobs -- resizing images, reading ZIP files, talking to a database, handling other languages' characters, decoding protected code. Each one uses a little memory, so they aren't all switched on by default. Our servers run CloudLinux, which lets you choose your own set of extensions for your account without asking us.

The extensions people ask for most

Extension name in the listWhat needs it
imagickBetter image resizing and PDF thumbnails in WordPress; WordPress Site Health recommends it. Many gallery and PDF plugins use it.
ioncube_loaderCommercial scripts that ship encoded (many billing systems, license-protected plugins and themes). Without it you get a "requires the ionCube PHP Loader" message.
intlInternationalization: formatting dates, currencies and non-English text. Needed by some shop plugins, Matomo, and many PHP frameworks.
sodiumModern encryption used by WordPress and security plugins.
zip, gd, mbstring, exif, fileinfo, soap, bcmathCommonly listed in plugin requirements: ZIP handling, basic image handling, multibyte text, photo data, file type detection, web services, precise math.

The exact list depends on the PHP version you pick. If a plugin's documentation names an extension, look for that name in the list.

Select PHP Version vs MultiPHP Manager

Your cPanel has two PHP tools, and it helps to know how they relate before you start:

  • Software > MultiPHP Manager sets the PHP version per domain, using cPanel's own PHP builds. It doesn't let you pick extensions -- you get the standard set.
  • Software > Select PHP Version is CloudLinux's PHP Selector. It lets you choose a PHP version (5.2 through 8.5) and tick exactly which extensions are loaded.

The catch: MultiPHP Manager wins if the two disagree. Select PHP Version only takes effect for a domain that is set to inherit in MultiPHP Manager. (On its own, inherit means the server-wide default, currently PHP 8.2.) If MultiPHP Manager shows a specific version for your domain, your choices in Select PHP Version are ignored for that domain.

Step 1: Set your domain to inherit in MultiPHP Manager

  1. Log in to cPanel (from the client area: Services > My Services, choose your plan, then Log in to cPanel).
  2. Go to Software > MultiPHP Manager.
  3. Look at the PHP Version column for your domain. Write down what it says now, in case you need to switch back.
  4. If it shows a specific version rather than inherit, tick the domain, choose inherit from the PHP Version menu and click Apply.

Your domain now follows whatever you choose in Select PHP Version. Select PHP Version has its own default (currently PHP 8.3), so if you haven't chosen a version there before, that's what your site runs until you pick one in the next step. That's usually fine, but check the site loads.

Step 2: Choose a PHP version in Select PHP Version

  1. Go to Software > Select PHP Version (or type "Select PHP" in the cPanel search bar).
  2. At the top you'll see the current PHP version. If it says native, the selector is handing control back to cPanel's own PHP, and the extension list can't be changed.
  3. Open the version menu and choose a numbered version -- normally the same version your site already runs well on, such as 8.3.
  4. Click Set as current. The list of extensions for that version appears below.

Pick a version your software supports. WordPress and most current plugins are happy on PHP 8.2 and 8.3. Very old versions (5.x and 7.x) are only there for old scripts that can't be updated -- they no longer get security fixes.

Step 3: Tick the extensions you need

  1. On the Extensions tab, find the extension by name (for example imagick, intl or ioncube_loader). The list is alphabetical.
  2. Tick its box. The change saves straight away; you'll normally see a short confirmation message.
  3. Leave the extensions that are already ticked alone unless you know you don't need them. Unticking something like mysqli or pdo_mysql will break WordPress.
  4. Reload your website and the page that complained, and check the message has gone.

If you ever get into a mess, use the page's reset button (labelled along the lines of Reset to default) to put the extension list back to our standard set for that version.

Step 4: Check the PHP settings on the Options tab

When a numbered version is chosen in Select PHP Version, PHP settings such as memory_limit, upload_max_filesize and max_execution_time are shown on its Options tab. After switching tools, open that tab and make sure the values your site needs are still there -- for example, memory_limit of 256M for a WordPress shop. See How to Change PHP Settings (memory_limit, upload_max_filesize) for which values to use.

How to check an extension is really loaded

In WordPress

Go to Tools > Site Health > Info and expand Server. It shows the PHP version and whether Imagick is available. The Status tab also warns about missing recommended modules. You may need to reload the page once or twice.

With a phpinfo page (any site)

  1. In Files > File Manager, open public_html, click + File and create a file with an unguessable name, such as check-7f3k9.php.
  2. Edit it, paste the line below, and save:
    <?php phpinfo();
  3. Visit https://example.com/check-7f3k9.php. Near the top it shows the PHP version; press Ctrl+F (Cmd+F on a Mac) and search for the extension name, for example imagick or intl. If it has its own section in the page, it's loaded. For ionCube, look for "with the ionCube PHP Loader" in the top box.
  4. Delete the file when you're done. phpinfo shows details about your setup that you don't want public.

The website is the thing that matters. If you use SSH, php -m lists loaded extensions for the command line, but the command-line PHP isn't guaranteed to match what your website uses, so trust the phpinfo page if they disagree.

Notes on specific extensions

ionCube Loader

Encoded scripts are built for particular PHP versions, and ionCube support for a brand-new PHP release often arrives later than the release itself. Check the script vendor's requirements page for the highest PHP version they support, choose that version in Select PHP Version, and then tick ioncube_loader. If the script still says the loader is missing, open the phpinfo page and confirm the version you're actually running.

Imagick

After enabling it, WordPress uses Imagick automatically for new uploads. It doesn't reprocess existing images. Image processing uses a fair amount of memory, so if uploads of large photos fail afterwards, check memory_limit on the Options tab.

Troubleshooting

I ticked the extension but the plugin still says it's missing

  • Check MultiPHP Manager: if your domain is set to a specific version instead of inherit, your Select PHP Version choices don't apply.
  • Check Select PHP Version isn't set to native.
  • Purge your cache (for example Purge All in LiteSpeed Cache) and reload. Some plugins also cache their own requirement checks -- deactivate and reactivate the plugin.
  • Look at a phpinfo page to see what your site is really running.

The site broke after I changed something

Go back to Select PHP Version and untick the last extension you ticked, or switch back to the version you were on. If you set the domain to inherit in MultiPHP Manager and that caused the problem, set it back to the version you wrote down. Then check your error_log file for the exact error -- see How to Check Your Website Error Log and Recent Visitors.

I get a warning about a module "already loaded" or two similar extensions

Some extensions come in two variants that can't both be on (for example, alternative builds of the MySQL drivers). Untick the one you just added and reload. If the warnings continue, use the reset button on the page to go back to the standard set.

The extension I need isn't in the list

Check you're looking at the version you intend to use -- some extensions exist only for certain versions. If it's genuinely not offered, open a ticket with the extension name, the PHP version and the software that needs it.

Common questions

Do extension changes affect other websites?

No. Your choices apply only to your hosting account.

Will turning on lots of extensions slow my site down?

Each extension adds a little memory to every PHP request. Turn on what your software asks for, not everything in the list.

Should I use MultiPHP Manager or Select PHP Version?

If the standard extensions are enough, MultiPHP Manager is simplest -- see How to Change Your PHP Version in cPanel. If you need an extra extension, use Select PHP Version with the domain on inherit. Just don't set a version in both places and expect them to agree.

Do cron jobs use the extensions I picked?

Not necessarily. Cron jobs run PHP from the command line, which can differ from your website. If a cron job fails with a missing extension, open a ticket with the cron command and the error.

Related guides

Still stuck? Open a support ticket and the Instant Access Internet Services team will help.

Ultrafast LiteSpeed hosting from InstantAccess.net: free SSL, free backups, cPanel included, no contracts. Check out our $10/month hosting.
  • enable php extension cpanel, select php version cpanel, enable imagick cpanel, ioncube loader cpanel, php intl extension missing, cloudlinux php selector, php extension not installed wordpress
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Change Your PHP Version in cPanel

Running a current PHP version keeps your website faster and more secure, and many WordPress...

How to Change PHP Settings (memory_limit, upload_max_filesize)

If WordPress says "The uploaded file exceeds the upload_max_filesize directive", a plugin runs...

How to Set Up a Cron Job in cPanel

A cron job runs a command or script on a schedule, such as every hour or once a night, without...

How to Check Your Website Error Log and Recent Visitors

When your website shows a blank page, a "500 Internal Server Error" or a feature just stops...

How to View Website Statistics with AWStats and Bandwidth

Your Instant Access Internet Services hosting account includes built-in website statistics, so...