I can not get the IoncubeLoader running on my MacOS 10.13. First I tried - as recommended - to install via loader-wizard. This fails with the error message:
Warning: Illegal string offset 'errors' in /Users/johndoe/Sites/ioncube/loader-wizard.php on line 1252
Fatal error: Uncaught Error: Cannot use string offset as an array in /Users/johndoe/Sites/ioncube/loader-wizard.php:1252 Stack trace: #0 /Users/johndoe/Sites/ioncube/loader-wizard.php(1294): scan_inis_for_loader() #1 /Users/johndoe/Sites/ioncube/loader-wizard.php(3291): find_loader(false) #2 /Users/johndoe/Sites/ioncube/loader-wizard.php(3085): ini_loader_errors() #3 /Users/johndoe/Sites/ioncube/loader-wizard.php(2908): loader_not_installed() #4 /Users/johndoe/Sites/ioncube/loader-wizard.php(2712): default_page() #5 /Users/johndoe/Sites/ioncube/loader-wizard.php(115): run() #6 {main} thrown in /Users/johndoe/Sites/ioncube/loader-wizard.php on line 1252
Then I tried to copy it manually to the extension folder; this fails because of the missing rights (although I use the admin account):
$ sudo cp ioncube/ioncube_loader_dar_7.1.so /usr/lib/php/extensions/no-debug-non-zts-20160303/
$ cp: /usr/lib/php/extensions/no-debug-non-zts-20160303/ioncube_loader_dar_7.1.so: Operation not permitted
Next I installed the IoncubeLoader via homebrew. This seems to have worked at first glance:
$ brew search ioncube
==> Searching local taps...
homebrew/php/php71-ioncubeloader ✔
... but php -v
doesn't show any installed IoncubeLoader extension, neither does phpinfo()
.
What more can I do to get Ioncube Loader running? Is there a reference to the homebrew installed loader missing? I am thankful for every hint!