ioncube 是用来加密PHP源码的工具,因为这种加密方式不会牺牲服务器的性能,所以有广泛的应用。
今天我在本地Ubuntu安装了ioncube,整理了下安装步骤,如下:
一、下载相关版本的ioncube
先使用uname -a 检查下系统里的Linux版本,
到http://www.ioncube.com/loaders.php 页面下载相应的版本
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
tar xjvf ioncube_loaders_lin_x86.tar.bz2 --directory=/var/www
http://www.yourdomain.com/ioncube/loader-wizard.php
cp -rf /var/www/ioncube/ioncube_loader_lin_5.3.so /usr/lib/php5/20090626+lfs
cp 20ioncube.ini file /etc/php5/apache2/conf.d
mv /var/www/ioncube /usr/local/ioncube
vi /etc/php4/apache2/php.ini
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so
service apache2 restart
/etc/init.d/apache2
ionCube Loader Wizard
Loader Installed Successfully
The ionCube Loader version 4.0.8 is installed and encoded files should run successfully.
Please contact the script provider if you do experience any problems running encoded files.
For security reasons we advise that you remove this Wizard script from your server now that the ionCube Loader is installed.
ionCube组件安装成功
转载自:http://www.magentonotes.com/localhost-install-ioncube.html