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

 

 

Andrew Taylor

A senior UI designer with over 25 years of web design and web development experience working for some of the largest companies in the UK. An expert in all things Magento and WordPress.

Leave a Reply

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