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:
- Go to Tools & Settings > General Settings > PHP Settings > PHP 8.1 > Manage PECL Packages.
- Search for "ioncube" and install "ioncube_loader" with the plus (+) button as shown below:
-
Go to Tools & Settings > PHP Settings > click on any handler of necessary version (8.1 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