Skip to main content
Magento 2

Magento 2 – Failed loading /usr/local/ioncube/ioncube.so

By September 29, 2017June 27th, 2019No Comments

After upgrading to Magento 2.2.0 I found the following ioncube.so error when running SSH commands via Composer.

Failed loading /usr/local/ioncube/ioncube.so: /usr/local/ioncube/ioncube.so: undefined symbol:

This was being called in my php.ini

zend_extension = /usr/local/ioncube/ioncube.so

 

Full Error

===========================================

Failed loading /usr/local/ioncube/ioncube.so: /usr/local/ioncube/ioncube.so: undefined symbol: zend_block_interruptions
Loading composer repositories with package information

===========================================

 

It seems that ioncube is not supported by PHP7.1.0.

So the line should be commented out (;) or removed from your global php.ini

 

;zend_extension = /usr/local/ioncube/ioncube.so

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.