Updated: 30 November 2026 · Applies to: Plesk Obsidian 18.0 on CloudLinux OS with CageFS and the CloudLinux PHP Selector (alt-php versions)
On a Plesk server with CloudLinux, you turn PHP extensions on or off in the CloudLinux PHP Selector: open it from Plesk, make sure the current PHP version is a numbered version (not native), then tick the extensions you need and untick the ones you do not. According to CloudLinux, all changes are saved automatically, so there is no Save button to press. The choice applies to your whole Plesk subscription and to that PHP version only.
This article covers extensions in general: how the list works, how to disable one, and how to undo a change. For one common case step by step, see How to Enable the GD Extension for PHP in Plesk.
Before you start
- The PHP Selector must be offered on your server. It is a CloudLinux feature, not part of plain Plesk. Your provider can also hide the extensions list from users (CloudLinux has a "Hide PHP extensions for end-user" setting). If you cannot find it, the extensions are managed by the server administrator.
- The site must use a compatible PHP handler. According to CloudLinux, the PHP Selector works with suPHP, mod_fcgid (in Plesk, FastCGI application served by Apache), CGI and LiteSpeed. PHP-FPM is not on that list. If your domain's PHP Settings in Plesk use a PHP-FPM handler, the selector's choices may have no effect on the site.
- Extensions belong to a PHP version. If you change the PHP version later, check the extension list again for the new version. Changing the version itself is covered in How to Change the PHP Version in Plesk Using CloudLinux Selector.
Enable or disable an extension
- Log in to Plesk (see How to Log In to Your Plesk Panel).
- Open the CloudLinux PHP Selector for your subscription. On most servers it is listed as PHP Selector or Select PHP Version; where it appears in the menu depends on how your provider set up Plesk.
- Check the current PHP version at the top. If it shows native, the server's own PHP build is in use; choose the numbered version your application supports first, so you can manage its extensions.
- In the extensions list, tick an extension to enable it, or untick it to disable it.
- Wait a moment for the change to save, then reload your website and test the feature that needed the extension.
Extensions you cannot untick
Some extensions are compiled into PHP itself or enabled in the version's global php.ini, so they always load. In CloudLinux's command-line listing these are marked with ~ ("included in php binary (cannot be disabled)"), enabled ones with + and disabled ones with -. In the web list they appear ticked and cannot be changed.
Which extensions to choose
- Database drivers:
mysqliandpdo_mysqlfor MySQL and MariaDB. If an installer says the mysqli extension was not found, see Unable to install application in Plesk on CloudLinux server: mysqli extension was not found. - Images:
gdorimagick(enable one; most applications need only one of them). - Encoded scripts:
ioncube_loader, covered in How to Enable ionCube Loader in Plesk via CloudLinux Selector. - Mail parsing:
mailparse, covered in How to Enable the Mailparse Extension for PHP in Plesk.
Check your application's own requirements page and enable only what it lists. Every extra extension uses memory in each PHP process and is one more piece of code to keep updated. Disabling an extension your application uses breaks it at once, usually with a "Call to undefined function" error, so change one extension at a time and test after each change.
Undo your changes
The PHP Selector has a Reset to default option, which, according to CloudLinux, puts the extension list for that PHP version back to the server's default set. Use it if the site breaks after a change and you are not sure which extension caused it.
For server administrators
According to CloudLinux, you can list and change a user's extensions with selectorctl. Replace alice with the subscription's system user and 8.3 with the PHP version:
/usr/bin/selectorctl --list-user-extensions --user=alice --version=8.3
/usr/bin/selectorctl --enable-user-extensions=gd,intl --user=alice --version=8.3
/usr/bin/selectorctl --reset-user-extensions --user=alice --version=8.3
PHP limits such as memory are set in the same selector under PHP options; see How to Adjust PHP Memory Limits Using CloudLinux Selector in Plesk.
Official documentation: CloudLinux: PHP Selector.