Command Instal ionCube Loader di Linux

Command Instal ionCube Loader di Linux
Command Instal ionCube Loader di Linux

ionCube Loader adalah ekstensi PHP yang memungkinkan PHP untuk mengeksekusi file yang dikodekan menggunakan ionCube Encoder .

ionCube Logo
ionCube

Hapus Versi Sebelumnya
Perintah berikut akan menghapus versi sebelumnya dari tarball ioncube_loader yang terletak di /usr/local :

cd /usr/local
sudo rm ioncube_loaders*.tar.gz

Berikut adalah Command Instal ionCube Loader di Linux:

PHP 8.3

cd /usr/local
    sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
    sudo cp ioncube/ioncube_loader_lin_8.3.so /opt/sp/php8.3/lib/php/extensions/no-debug-non-zts-20230831/
    sudo bash -c 'echo "zend_extension=/opt/sp/php8.3/lib/php/extensions/no-debug-non-zts-20230831/ioncube_loader_lin_8.3.so" > /etc/php8.3-sp/conf.d/20ioncube.ini'
    sudo service php8.3-fpm-sp restart

PHP 8.2

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_8.2.so /opt/sp/php8.2/lib/php/extensions/no-debug-non-zts-20220829/
sudo bash -c 'echo "zend_extension=/opt/sp/php8.2/lib/php/extensions/no-debug-non-zts-20220829/ioncube_loader_lin_8.2.so" > /etc/php8.2-sp/conf.d/20ioncube.ini'
sudo service php8.2-fpm-sp restart

PHP 8.1

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_8.1.so /opt/sp/php8.1/lib/php/extensions/no-debug-non-zts-20210902/
sudo bash -c 'echo "zend_extension=/opt/sp/php8.1/lib/php/extensions/no-debug-non-zts-20210902/ioncube_loader_lin_8.1.so" > /etc/php8.1-sp/conf.d/20ioncube.ini'
sudo service php8.1-fpm-sp restart

PHP 8.0

The ionCube loader does not support PHP 8.0.

PHP 7.4

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_7.4.so /opt/sp/php7.4/lib/php/extensions/no-debug-non-zts-20190902/
sudo bash -c 'echo "zend_extension=/opt/sp/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ioncube_loader_lin_7.4.so" > /etc/php7.4-sp/conf.d/20ioncube.ini'
sudo service php7.4-fpm-sp restart

PHP 7.3

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_7.3.so /opt/sp/php7.3/lib/php/extensions/no-debug-non-zts-20180731/
sudo bash -c 'echo "zend_extension=/opt/sp/php7.3/lib/php/extensions/no-debug-non-zts-20180731/ioncube_loader_lin_7.3.so" > /etc/php7.3-sp/conf.d/20ioncube.ini'
sudo service php7.3-fpm-sp restart

PHP 7.2

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_7.2.so /opt/sp/php7.2/lib/php/extensions/no-debug-non-zts-20170718/
sudo bash -c 'echo "zend_extension=/opt/sp/php7.2/lib/php/extensions/no-debug-non-zts-20170718/ioncube_loader_lin_7.2.so" > /etc/php7.2-sp/conf.d/20ioncube.ini'
sudo service php7.2-fpm-sp restart

PHP 7.1

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_7.1.so /opt/sp/php7.1/lib/php/extensions/no-debug-non-zts-20160303/
sudo bash -c 'echo "zend_extension=/opt/sp/php7.1/lib/php/extensions/no-debug-non-zts-20160303/ioncube_loader_lin_7.1.so" > /etc/php7.1-sp/conf.d/20ioncube.ini'
sudo service php7.1-fpm-sp restart

PHP 7.0

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_7.0.so /opt/sp/php7.0/lib/php/extensions/no-debug-non-zts-20151012/
sudo bash -c 'echo "zend_extension=/opt/sp/php7.0/lib/php/extensions/no-debug-non-zts-20151012/ioncube_loader_lin_7.0.so" > /etc/php7.0-sp/conf.d/20ioncube.ini'
sudo service php7.0-fpm-sp restart

PHP 5.6

cd /usr/local
sudo wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
sudo cp ioncube/ioncube_loader_lin_5.6.so /opt/sp/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
sudo bash -c 'echo "zend_extension=/opt/sp/php5.6/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so" > /etc/php5.6-sp/conf.d/20ioncube.ini'
sudo service php5.6-fpm-sp restart

Memverifikasi bahwa ionCube Loader telah terpasang

Seperti Pada perintah yang ditampilkan, ganti “XY” dengan versi PHP aplikasi Anda (misalnya, “7.4” atau “8.1”).

Anda dapat memverifikasi ekstensi ionCube Loader terinstal dengan benar dengan menjalankan perintah ini:

phpX.Y-sp -i | grep -i ioncube

Anda akan melihat keluaran seperti berikut:

Additional .ini files parsed => /etc/phpX.Y-sp/conf.d/20ioncube.ini,
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.0 (), Copyright (c) 2002-2017, by ionCube Ltd.
ionCube Loader

Menghapus Instalasi IonCube Loader

Pada perintah yang ditampilkan, ganti “XY” dengan versi PHP aplikasi Anda (misalnya, “7.4” atau “8.1”). Untuk menghapus pemuat ionCube dari versi PHP tempat Anda menginstalnya sebelumnya, jalankan perintah berikut sebagai 
root

sudo rm /etc/phpX.Y-sp/conf.d/20ioncube.ini
sudo service phpX.Y-fpm-sp restart

Total
0
Shares
Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Previous Post
Perbedaan KVM, OpenVZ, Xen, QEMU, dan x86-64

Perbedaan KVM, OpenVZ, Xen, QEMU, dan x86/64

Related Posts
Total
0
Share