Breaking News
light_mode
Trending Tags
Beranda » Tutorial » Linux Debian » Install IonCube pada Debian 9

Install IonCube pada Debian 9

  • account_circle Pengelola
  • calendar_month Sen, 28 Sep 2020
  • visibility 31
  • comment 0 komentar

Panduan Install Ion Cube pada Debian 9 bisa dilihat sebagai berikut

Requirements
A server running Debian 9 with LAMP installed.
A non-root user with sudo privileges.
Getting Started
Before starting, update all packages that are installed on your server using the following command:

sudo apt-get update -y
sudo apt-get upgrade -y
Once all the packages are updated, restart the system to apply all the changes:

sudo reboot
Installing IonCube Loader
First, you will need to download the latest version of the IonCube Loader from their official website. Otherwise, you can download it using the following command:

wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
Once the download is completed, extract the downloaded file using the following command:

tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
By default the files will be unzipped to a folder ioncube.

Now, change the directory to ioncube folder and run ls command to see all the extension:

cd ioncube
ls
You should see the various ioncube loader files corresponding to various php versions as below:

ioncube_loader_lin_4.1.so ioncube_loader_lin_5.0_ts.so ioncube_loader_lin_5.4.so ioncube_loader_lin_7.0_ts.so README.txt
ioncube_loader_lin_4.2.so ioncube_loader_lin_5.1.so ioncube_loader_lin_5.4_ts.so ioncube_loader_lin_7.1.so USER-GUIDE.pdf
ioncube_loader_lin_4.3.so ioncube_loader_lin_5.1_ts.so ioncube_loader_lin_5.5.so ioncube_loader_lin_7.1_ts.so USER-GUIDE.txt
ioncube_loader_lin_4.3_ts.so ioncube_loader_lin_5.2.so ioncube_loader_lin_5.5_ts.so ioncube_loader_lin_7.2.so
ioncube_loader_lin_4.4.so ioncube_loader_lin_5.2_ts.so ioncube_loader_lin_5.6.so ioncube_loader_lin_7.2_ts.so
ioncube_loader_lin_4.4_ts.so ioncube_loader_lin_5.3.so ioncube_loader_lin_5.6_ts.so LICENSE.txt
ioncube_loader_lin_5.0.so ioncube_loader_lin_5.3_ts.so ioncube_loader_lin_7.0.so loader-wizard.php


Now, you will need to select the correct ioncube loader file as per the PHP version installed on your server. Run the following command to see the version of PHP installed on your server:

php -v

Output:

PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

In the above output, you should see that the PHP version installed is PHP 7.0.22. So you will need to copy ioncube_loader_lin_7.0.so file from ioncube directory to the PHP extension directory.

First, find the location of the PHP extension directory using the following command:

php -i | grep extension_dir

You should see the following output:

extension_dir => /usr/lib/php/20151012 => /usr/lib/php/20151012

Now, copy ioncube loader file to the PHP extension directory (/usr/lib/php/20151012) using the following command:

cd ioncubecp ioncube_loader_lin_7.0.so /usr/lib/php/20151012/

Next, you will need to edit php.ini file and add path of the ioncube extension. You can do this with the following command:

sudo nano /etc/php/7.0/apache2/php.ini

Add the following line:

zend_extension=/usr/lib/php/20151012/ioncube_loader_lin_7.0.so

Save the file, then open other php.ini file:

sudo nano /etc/php/7.0/cli/php.ini

Add the following line:

zend_extension=/usr/lib/php/20151012/ioncube_loader_lin_7.0.so

Save and close the file, then restart Apache service to apply the changes:

sudo systemctl restart apache2

Testing IonCube Loader

Now, everything is configured properly, it’s time to test whether Ioncube loader is installed or not. You can test it using the following command:

php -v

If everythig is fine, you should see the following output:

PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.1.0, Copyright (c) 2002-2017, by ionCube Ltd.
    with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

sumber: https://www.howtoforge.com/tutorial/install-ioncube-loader-on-debian-9/

  • Penulis: Pengelola

Rekomendasi Untuk Anda

  • Kode Diskon RedDoorz  Untuk Kamu di Sigli

    Kode Diskon RedDoorz Untuk Kamu di Sigli

    • calendar_month Sab, 22 Agu 2020
    • account_circle Pengelola
    • visibility 27
    • 0Komentar

    Apakah kamu sedang mencari Kode Diskon RedDoorz Untuk Kamu di Sigli? Kalau ya… Maka kamu sudah berada di tempat yang pas. Di sini akan kamu dapatkan apa yang kamu cari.   Red doorz, ialah situs booking hotel online yang sediakan beberapa pilihan penginapan di Indonesia serta Singapore. Mungkin ini salah satu yang sedang kamu cari… […]

  • Dibutuhkan Sopir / driver untuk UD Sregep Jl. Kebon Agung Sleman Jogja

    Dibutuhkan Sopir / driver untuk UD Sregep Jl. Kebon Agung Sleman Jogja

    • calendar_month Ming, 18 Agu 2019
    • account_circle Pengelola
    • visibility 28
    • 0Komentar

    Dibutuhkan Sopir / driver untuk UD Sregep Jl. Kebon Agung Sleman Jogja Dibutuhkan 5 supir: – syarat tidur dalam – umur maks 35 tahun Hubungi: UD Sregep Jl. Kebon Agung Sleman Jogja (terminal Jombor ke Barat) +- 3 km Dusun Karanglo Paling lambat 28 Agustus 2019   Dibutuhkan Sopir / driver untuk UD Sregep Jl. […]

  • Jual rumah di kota Yogyakarta

    Jual rumah di kota Yogyakarta

    • calendar_month Ming, 26 Sep 2010
    • account_circle aanr
    • visibility 29
    • 2Komentar

    Dijual CEPAT, rumah cocok untuk ruang usaha dan kantor dipusat yogyakarta. luas tanah 266m2 utara radio prambors, jl. letjend. suprapto. Harga Rp. 710  juta. hubungi 0274 – 315 2466 / 741 5378  –  Sudah Laku

  • Required Telephone Operator, Personnel Clerk & Cashier

    Required Telephone Operator, Personnel Clerk & Cashier

    • calendar_month Sel, 21 Sep 2010
    • account_circle wahyu
    • visibility 24
    • 0Komentar

    JOB VACANCY 1. TELEPHONE OPERATOR 2. PERSONNEL CLERK 3. CASHIER 4. RECEPTIONIST 5. ENGINEERING Specification: – Female (1,2,3,4) max. 25 years old, Male (5) max.30 years old – Having minimum hotel senior high school, or relevant educational background – Having related job experience minimum for 1 years – Mastering computer operation for office program – […]

  • harga super laundry mawar di Tondano

    harga super laundry mawar di Tondano

    • calendar_month Rab, 2 Sep 2020
    • account_circle Pengelola
    • visibility 27
    • 0Komentar

    Mencari harga super laundry mawar di Tondano? Anda berada di tempat yang tepat. Teruskan membaca dengan teliti. atau segera Telepon atau WhatsApp kami pada tombol tersedia. Distributor parfum laundry / Agen Parfum Laundry / Grosir Parfum Laundry dari Jogja Istimewa – Parfum Laundry Bisnis Harum. Banyak Untung. harga super laundry mawar di Tondano Hubungi: 0858-7865-6564, […]

  • Promo Hotel RedDoorz Oktober 2020 Untuk Kamu di Probolinggo

    Promo Hotel RedDoorz Oktober 2020 Untuk Kamu di Probolinggo

    • calendar_month Sab, 22 Agu 2020
    • account_circle Pengelola
    • visibility 28
    • 0Komentar

    Apakah kamu sedang mencari Promo Hotel RedDoorz Oktober 2020 Untuk Kamu di Probolinggo? Kalau ya… Maka kamu sudah berada di website yang pas. Di sini akan kamu dapatkan apa yang kamu cari.   Red doorz, ialah situs booking hotel online yang sediakan beberapa pilihan penginapan di Indonesia serta Singapore. Mungkin ini salah satu yang sedang […]

expand_less