Blog

Miércoles, 09 Mayo 2018 21:03

Instalar ioncube en UBUNTU

Written by 
Rate this item
(0 votes)

1. Descargar el repositorio y descomprimirlo

# wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip

# unzip ioncube_loaders_lin_x86-64.zip


2. Encontrar el directorio de extensiones

# php -i | grep extension_dir

extension_dir => /usr/lib/php/20151012 => /usr/lib/php/20151012

 

3. Copiar el binario en la ruta hallada anteriormente.

# cp ioncube/ioncube_loader_lin_7.0.so /usr/lib/php/20151012/

# echo "zend_extension=ioncube_loader_lin_7.0.so" > /etc/php/7.0/cli/conf.d/00-ioncube-loader.ini

# echo "zend_extension=ioncube_loader_lin_7.0.so" > /etc/php/7.0/apache2/conf.d/00-ioncube-loader.ini

# echo "zend_extension=ioncube_loader_lin_7.0.so" > /etc/php/7.0/cgi/conf.d/00-ioncube-loader.ini

# echo "zend_extension=ioncube_loader_lin_7.0.so" > /etc/php/7.0/fpm/conf.d/00-ioncube-loader.ini

 

4. Reiniciar apache

# service apache2 restart

Read 554 times Last modified on Jueves, 17 Mayo 2018 19:23

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.