Skip to Content

Failed loading ioncube_loader

Error: Failed loading /usr/local/ioncube/ioncube_loader_lin_5.4.so: /usr/local/ioncube/ioncube_loader_lin_5.4.so: undefined symbol: zend_block_interruptions


Step 1. Ensure that you install the Ioncube loader corresponding to your PHP version only.
For example

If you have PHP Version 7.3, The Ioncube loader should be ioncube_loader_lin_7.3.so

Step 2. Ensure that no other versions of the ionCube loader are loaded in any other PHP configuration file.
Step 3. Remove or delete the old Ioncube loader from any other PHP configuration file if it is loaded.
Step 4. To locate the file where the Ioncube loader is loaded, execute the following command:

root@gateway:~# grep -r '/usr/local/ioncube/ioncube_loader_lin_5.4.so' /etc/
/etc/php.d/ioncube00:zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.4.so

It will show the file and path of the file in which the Ioncube loader is loaded.
--> Comment the line from the file or remove the Ioncube file itself and restart Apache.

root@gateway:~# systemctl restart httpd

--> Confirm by checking the PHP version


Related Articles:
How to install ioncube in the Ezeelogin Jump server