1
|
# uname –a
|
1
|
…… i686 i686 i386 GNU/Linux
|
1
|
# cd /tmp
|
Для 32-битных систем
1
|
# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
|
Для 64-битных систем
1
|
# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
|
1
|
# tar xvfz ioncube_loaders_lin_x86.tar.gz
|
1
|
# mkdir /usr/local/ioncube
|
1
|
# php -v
|
1
|
PHP 5.3.3 (cli) ........
|
Если версия PHP 5.3, то ставим ….
1
|
# cp ioncube/ioncube_loader_lin_5.3* /usr/local/ioncube/
|
1
|
# nano /etc/php.d/ioncube.ini
|
1
2
|
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so
zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_5.3_ts.so
|
1
|
# /etc/init.d/httpd restart
|
1
|
# php –v
|
1
2
3
4
|
PHP 5.3.3 (cli) (built: Jul 12 2013 20:21:47)
Copyright (c) 1997—2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998—2010 Zend Technologies
with the ionCube PHP Loader v4.4.4, Copyright (c) 2002—2013, by ionCube Ltd.
|
1
|
# php -m | grep ionCube
|
1
2
|
ionCube Loader
the ionCube PHP Loader
|
Для чайников: http://i-leon.ru/ustanovka_ioncube_na_centos/