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

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

This was being called in my php.ini

zend_extension = /usr/local/ioncube/


Full Error


Failed loading /usr/local/ioncube/ /usr/local/ioncube/ 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/



Leave a comment