🧩 PHP Ioncube Version Update Guide on Plesk Panel
To ensure your web applications run smoothly, it’s crucial that the PHP Ioncube Loader module is both compatible and up to date.This article explains, step by step, how to update the PHP Ioncube Loader module for your websites hosted on Plesk Panel. ✅
💡 What is Ioncube?
Ioncube is a module that encrypts PHP files to protect source code, especially for licensed or proprietary software.However, Ioncube must match your PHP version. When you upgrade PHP, you may also need to upgrade Ioncube to a compatible version.
🧪 Updating PHP Ioncube via Plesk Web Interface
First, log in to your Plesk Panel.Then navigate to
Tools & Settings → PHP Settings. Select the desired
PHP version where you want to install Ioncube, and click Manage PECL Packages. In the search field, type
Ioncube and proceed with the installation.🕸️ Updating PHP Ioncube via SSH (Terminal)
If you prefer to install or update Ioncube via SSH Terminal, follow these steps carefully.If executed correctly, the Ioncube installation will complete successfully without issues.
🔹Step 1: Connect to the Server via SSH
🔹Step 2: Install Ioncube Loader for Each PHP Version
For PHP 8.4:
Bash:
plesk bin php_handler --extension-install ioncube_loader -id plesk-php84-fpm
For PHP 8.3:
Bash:
plesk bin php_handler --extension-install ioncube_loader -id plesk-php83-fpm
For PHP 8.2:
Bash:
plesk bin php_handler --extension-install ioncube_loader -id plesk-php82-fpm
For PHP 8.1:
Bash:
plesk bin php_handler --extension-install ioncube_loader -id plesk-php81-fpm
⚠️ Update the PHP version in the command as needed.
Be careful to match the correct version ID, e.g.plesk-[B]php81[/B]-fpm.
✅ Restarting PHP Services in Plesk Panel
After installing or updating Ioncube (via web or SSH), it’s a good idea to restart the PHP services.This ensures that the new configuration is loaded correctly.
🔹Step 1: Restart PHP via Web Interface
Log in to your Plesk Panel.Go to
Tools & Settings → Service Management, and restart the PHP version you’ve updated.🔹Step 2: Restart PHP via SSH
Restart PHP 8.4:
Bash:
service plesk-php84-fpm restart
Restart PHP 8.3:
Bash:
service plesk-php83-fpm restart
Restart PHP 8.2:
Bash:
service plesk-php82-fpm restart
Restart PHP 8.1:
Bash:
service plesk-php81-fpm restart
⚠️ Update the version number accordingly in the command.
Pay attention to the correct format:plesk-[B]php81[/B]-fpm.