• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home VPS/Servers management guides

How to Install ionCube Loader on a Debian 9 VPS or Dedicated Server

How VPS by How VPS
November 2, 2018
in VPS/Servers management guides
0
0
SHARES
36
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Introduction
  2. Before You Begin
  3. Step 1 – Preinstallations
  4. Step 2 – Installing The IonCube Loader
  5. Step 3  – Confirming IonCube Loader Installation
  6. Conclusion
  7. Check out these top 3 Best web hosting services
    1. Was this article helpful?

Introduction

The IonCube Loader is a secure PHP extension designed to load PHP files that are encrypted using the IonCube Encoder software. It’s a robust solution that is used to decode and install protected files on the runtime and make them available to PHP. The program is freely available and provides benefits such as preventing your source code from being stolen and increasing your website’s loading speed.

This tutorial will show you how to install the IonCube Loader on your Debian 9 virtual server or dedicated server. The process is straightforward and will not take a lot of your time.

Ready? Let’s get started!

Before You Begin

For this tutorial to run flawlessly your require the following:

  • A fully configured Debian 9 server with LAMP stack installed.

Step 1 – Preinstallations

Before you install IonCube Loader on your Debian 9 server, you are required to update and upgrade all packages on your server. Run the commands below to update and upgrade your package index:

$ sudo apt-get update 
$ sudo apt-get upgrade

The packages will be updated and upgraded automatically, Once this process is complete, execute the command below to apply these changes:

$ sudo reboot

That is it! Your server is ready for the installation.

Step 2 – Installing The IonCube Loader

The first thing when installing the IonCube Loader is downloading the most recent IonCube Loader package from the official IonCube website. To download the latest package, issue the command below:

$ wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Once this file is downloaded, run the command below to extract it:

$ sudo tar -xvzf ioncube_loaders_lin_x86-64.tar.gz

The command above will extract the file and store in a default folder called ioncube. Once this file is unzipped, run the command below to change directory to the aforementioned ioncube folder.

$ sudo cd ioncube

Now, issue the following command to view the extension:

$ sudo ls

This will give you an output displaying a list of IonCube Loader files that correspond to a number of PHP versions:

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

For IonCube to work correctly, you must select the IonCube Loader file that corresponds to a PHP version deployed on your Debian 9 server. To check the version of PHP implemented on your system, run the command below:

$ sudo php -v

This will give you an output like the one below:

PHP 7.0.30-0+deb9u1 (cli)  (built: Jun 14 2018 13:50:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

Once you find the version of PHP installed on your server, run the command below to locate the directory of your PHP extension:

$ php -i | grep extension_dir

This will give you the output below:

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

This shows that the directory of your PHP extension is /usr/lib/php/20151012. Now that you know where the PHP extension is stored, copy the appropriate IonCube Loader file to this directory:

$ sudo cd
$ sudo cp ioncube_loader_lin_7.0.so /usr/lib/php/20151012/

Note: The file you are copying must correspond to the PHP version deployed on your system. If you have installed a different version, for instance, PHP version 5.6, the IonCube Loader file to copy will be ioncube_loader_lin_5.6.so.

Next, open the php.ini file and incorporate the IonCube extension’s path. First, run the command below to open this file:

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

Copy the line below and add it to this file:

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

Save the changes and exit the nano editor, then run the command below to restart Apache.

$ sudo systemctl restart apache2

In case, you are using Nginx as your PHP processor, run the command below to open the PHP-FPM php.ini file:

$ sudo sudo nano /etc/php/7.0/fpm/php.ini

Add the line below:

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

Save the changes and exit the nano editor, then issue the command below to implement these changes:

$ sudo systemctl restart php7.0-fpm

Step 3  – Confirming IonCube Loader Installation

To check if the process was successful, issue the command below:

$ sudo php -v

If everything is okay, you will get an output with a line that indicates IonCube Loader is enabled:

PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Copyright (c) 1997-2017ThePHPGroup
ZendEnginev3.0.0, Copyright (c) 1998-2017ZendTechnologies
    withtheionCubePHPLoader (enabled) + IntrusionProtectionfromioncube24.com (unconfigured) v10.2.4, Copyright (c) 2002-2018, byionCubeLtd.
    withZendOPcachev7.0.30-0+deb9u1, Copyright (c) 1999-2017, byZendTechnologies

Conclusion

That is it! IonCube Loader has been successfully installed on your Debian 9 virtual server or dedicated server.

Check out these top 3 Best web hosting services

0

Was this article helpful?

Submit
Previous Post

How to Find and Remove Duplicate/Unwanted Files in Linux Using ‘FSlint’ Tool

Next Post

How to Impose High CPU Load and Stress Test on Linux Using ‘Stress-ng’ Tool

Next Post

How to Impose High CPU Load and Stress Test on Linux Using ‘Stress-ng’ Tool

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet