Geeklog: What I Learnt Today / Adam

Phar failed require caused by ioncube

> Experienced an odd thing today. Made a phar file to use as a cli script. It ran fine on a couple of local machines and then when I tried it on remote server it died on a require(). Bit confusing turns after a bit of googling found potential issue with ioncube. Turned out it the server had ioncube installed on it.

php -m | grep ion

Once I disabled ioncube loader the phar ran just fine, on this server ioncube was loaded from from its own ini file


Just in case anyone else has the same issue.

/ Adam