This issue drove me batty for an hour – after installing WHMCS with PHP’s Ioncube extension installed successfully the cronjob required by WHMCS would not run, complaining about Ioncube not being installed. Yet php -v showed that it was in fact installed.
Turns out that Ioncube had been enabled for PHP-FPM in the following directory:
…but had not been enabled in this directory also:
…which is another directory that needs the same config file in. In my server’s case the config file was named 00-ioncube.ini and consisted of the following:
zend_extension = “/usr/lib/php/20151012/ioncube_loader_lin_7.0.so”
And with that, voila, cron job works. Can’t get that hour of my life back, though.
Update: For the php7.1 servers the zend_extension line read:
zend_extension = “/usr/lib/php/20160303/ioncube_loader_lin_7.1.so”