Outils personnels
Vous êtes ici : Accueil GNU / Linux Debian Installer ionCube Loader sur Debian
Actions sur le document
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Installer ionCube Loader sur Debian

Par Pierre-Yves Landuré - Dernière modification 14/06/2010 12:28

ionCube Loader est un outil permettant d'utiliser des fichiers PHP protégés par une licence. Ce guide vous aide à l'installer sur Debian.

Nous déterminons l'architecture du système :
ARCH=$(command dpkg --print-architecture)
if [ "${ARCH}" = "i386" ]; then
  ARCH="x86"
elif [ "${ARCH}" = "amd64" ]; then
  ARCH="x86-64"
fi

Téléchargez l'archive du logiciel :

command wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_${ARCH}.tar.gz \
    --output-document="/tmp/ioncube_loaders_lin_${ARCH}.tar.gz"

Décompressez l'archive téléchargée :

/bin/tar --directory "/usr/local/" -xzf "/tmp/ioncube_loaders_lin_${ARCH}.tar.gz"

Nous récupérons la version de PHP :

PHP_VERSION=$(command php --version | command head -n 1 | command cut -c 5-7)

Ajoutez l'extension ionCube loader à votre installation PHP :

command echo "zend_extension=/usr/local/ioncube/ioncube_loader_lin_${PHP_VERSION}.so" \
    | command tee /etc/php5/conf.d/000-ioncube_loader.ini

Enfin, redémarrez votre serveur Web:

test -x /etc/init.d/apache2 && /etc/init.d/apache2 force-reload
test -x /etc/init.d/lighttpd && /etc/init.d/lighttpd force-reload

Remerciements

Merci !

Posté par 2FR3 le 22/02/2013 16:59
Très bon tuto.

Parfait

Posté par Kaymar le 22/08/2015 14:08
Excellent tuto, a marché directement en copier/coller des commandes
Merci infiniment pour le gain de temps

BlogBang
Navigation
 

Réalisé avec Plone

Ce site respecte les normes suivantes :

Wikio