PHP Warning: Failed loading Zend extension 'ioncube_loader_

Hello HestiaCP Support Team,

I am experiencing an issue with PHP 8.3 on my HestiaCP server. When running my MailWizz console auto-update command, PHP displays a warning that the ionCube Loader extension cannot be loaded because the required .so file is missing.

Command executed:

php8.3 -v

Error message:

PHP Warning:  Failed loading Zend extension 'ioncube_loader_lin_8.3.so' (tried: /usr/lib/php/20230831/ioncube_loader_lin_8.3.so (/usr/lib/php/20230831/ioncube_loader_lin_8.3.so: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/ioncube_loader_lin_8.3.so.so (/usr/lib/php/20230831/ioncube_loader_lin_8.3.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.3.36 (cli) (built: Oct 21 2026 14:32:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.36, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.36, Copyright (c), by Zend Technologies

The server reports the following PHP version:

PHP 8.3.36 (cli)
Zend Engine v4.3.36
Zend OPcache v8.3.36

What I need help with:

  1. How can I correctly install and configure the ionCube Loader for PHP 8.3 on HestiaCP?

  2. Which directory should contain ioncube_loader_lin_8.3.so for PHP 8.3.36 on my server?

  3. How can I identify and correct the PHP configuration file that references the missing extension?

  4. Is there a recommended HestiaCP-compatible solution to fix this warning without affecting other PHP versions, websites, or existing PHP configurations?

Please provide the recommended commands and configuration steps for resolving this issue on HestiaCP.

Thank you for your assistance.

Hi,

@eris has a script to install it.

Run these commands as root:

wget https://raw.githubusercontent.com/jaapmarcus/ioncube-hestia-installer/main/install_ioncube.sh
chmod +x install_ioncube.sh
./install_ioncube.sh

Maybe you could consider adding it to the script commands folder

Adding this to the script commands folder sounds like a good idea. It would make ionCube installation much easier for HestiaCP users, especially those who need it for multiple PHP versions. One thing worth considering is adding a PHP version check and verifying that the loader is enabled for the correct PHP-FPM configuration after installation.

A short status message confirming successful installation would also help users troubleshoot issues without manually checking each configuration file.