Skip to content

Instantly share code, notes, and snippets.

@fliphess
Last active February 15, 2017 14:49
Show Gist options
  • Save fliphess/a552162b157ce06f1134009a8a33bc1a to your computer and use it in GitHub Desktop.
Save fliphess/a552162b157ce06f1134009a8a33bc1a to your computer and use it in GitHub Desktop.
Use ioncube on hypernode Cron and or cli only

Ioncube gebruiken op hypernode voor cronjobs op php7

Dit werkt niet voor php-fpm, alleen voor de cli (crons)

  • Download de ioncube loader voor php7
  • Unpack de loader en rename naar ioncube_loader.so en plaats de file in /data/web/ioncube
  • Maak een config file aan: echo 'zend_extension=/data/web/ioncube/ioncube_loader.so' >> /data/web/ioncube/ioncube.ini
  • Dan kan je in deze ini zelf handmatig de ioncube extensie loaden en aan de juiste php binary als config meegeven:
$ php7 -c /data/web/ioncube/ioncube.ini -r "phpinfo();" | grep -i ioncube
Loaded Configuration File => /data/web/ioncube.ini
with the ionCube PHP Loader + Intrusion Protection from ioncube24.com (disabled) v5.0.7, Copyright (c) 2002-2015, by ionCube Ltd.
ionCube Loader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment