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

1. Make sure that you have 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

2. Ensure that the other versions of the ioncube loader are not loaded in any other PHP configuration file.
3. If the old ioncube loader is loaded in any other PHP configuration file, we need to remove or comment the old ioncube loader from that file.
4. To find the file in which the ioncube loader is loaded , use 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