sh 安装ioncube

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 安装ioncube相关的知识,希望对你有一定的参考价值。

#PHP 7.1
cd /var/www/html;
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz;
tar xvfz ioncube_loaders_lin_x86-64.tar.gz;
cp ioncube/ioncube_loader_lin_7.1.so 	/usr/local/lib/php/extensions/no-debug-non-zts-20160303/;
touch 	/usr/local/etc/php/conf.d/00-ioncube.ini
cat <<EOF > /usr/local/etc/php/conf.d/00-ioncube.ini
zend_extension = "/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ioncube_loader_lin_7.1.so"
EOF
service apache2 reload;
echo "Done";
;

#PHP 7.0
cd /var/www/html;
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz;
tar xvfz ioncube_loaders_lin_x86-64.tar.gz;
cp ioncube/ioncube_loader_lin_7.0.so 	/usr/local/lib/php/extensions/no-debug-non-zts-20151012/;
touch 	/usr/local/etc/php/conf.d/00-ioncube.ini
cat <<EOF > /usr/local/etc/php/conf.d/00-ioncube.ini
zend_extension = "/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube_loader_lin_7.0.so"
EOF
service apache2 reload;
echo "Done";
;

以上是关于sh 安装ioncube的主要内容,如果未能解决你的问题,请参考以下文章

sh 安装ioncube

sh 安装ioncube php-fpm

sh 使用php-fpm / nginx / ubuntu安装ioncube

PHP环境如何安装ionCube扩展,在debian环境下

安装ioncube

Linux系统安装IonCube的方法详解教程