Test edilen directadmin
Linux (x86) 32 Bit
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Linux (x86-64) 64 Bit
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -zxvf ioncube_loaders_lin_x86.tar.gz
mv ioncube /usr/local
Şimdi php.ini dosyamiza girip degistirmemiz gereken bir yer var.
nano /usr/local/lib/php.ini
en alta ekleyin
; Local Variables:
; tab-width: 4
; End:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
ctrl + X sonra Y ve enter
Apache yi tekrar baslatalim
/etc/init.d/httpd restart
service httpd restart
2 thoughts on - centos ve debian | plesk cpanel directadmin ioncube kurulumu resimli
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so: /usr/local/ioncube/ioncube_loader_lin_5.2.so: cannot restore segment prot after reloc: Permission denied
PHP 5.2.14 (cli) (built: Aug 12 2010 15:37:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
bu şekilde bir hata alırsanız
setenforce 0
yapın düzelir
# php -v
PHP 5.2.14 (cli) (built: Aug 12 2010 15:37:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.0, Copyright (c) 2002-2010, by ionCube Ltd.
şeklinde çıktı alırsanız sorun yoktur demektir