Question
How to enable the ionCube Loader module for PHP shipped with Plesk on Linux?
Answer
Starting from Plesk Obsidian 18.0.49, the ionCube Loader can be installed for PHP shipped with Plesk as follows:
Note: the example below is shown for PHP 8.2, apply the similar steps for required PHP version.
- Go to Tools & Settings > General Settings > PHP Settings > 8.2, click Manage PECL Packages, and then Install package:
- Specify "ioncube_loader" in the field Package name and click OK:
-
Go to Tools & Settings > PHP Settings > click on any handler of necessary version (8.2 in the above example) and enable ioncube_loader_lin_X.X.
Installing ionCube loader via a command-line interface
-
Connect to a Plesk server using SSH.
-
Run the command below:
# plesk bin php_handler --extension-install ioncube_loader -id plesk-php81-fpm
Additional information
The IonCube loader is not available for installation in Plesk GUI