• 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 Operating System Linux

Setup IonCube Loader on Ubuntu 14

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
128
VIEWS
Share on FacebookShare on Twitter

Contents

  1. What is IonCube?
  2. You will need…
  3. How to install IonCube
  4. Want to contribute?


What is IonCube?

IonCube gives developers the opportunity to protect their code that is written in the PHP programming language. IonCube prevents this code from being viewed, edited, and run on unlicensed systems. This works by IonCube compiling the bytecode before encoding, so that the source code is eliminated. Runtime overheads are also reduced.

You will need…

  • Ubuntu Server 14.04 LTS – with a LAMP stack installed (Linux, Apache, MySQL and PHP).

  • An SCP connection to your server – as root. In this case, I will be connecting from Windows using WinSCP.

  • An open ssh connection to your server as root.

How to install IonCube

  1. Download the latest version of the IonCube Loader Wizard from the official site.

  2. In the ssh window, identify the contents of your PHP modules folder.

    php -i | grep extension_dir
    
  3. You will see an output that looks something like the following. Jot this down.

    extension_dir => /usr/lib/php5/20090626+lfs => /usr/lib/php5/20090626+lfs
    
  4. Inside the .zip that you downloaded from the IonCube website, there is a folder called IonCube. Upload that whole folder to your webroot at /var/www/html using the SCP connection. Alternatively, you could use wget to place it in that folder, using these commands:

    cd /var/www/html
    mkdir ioncube
    cd ioncube    
    wget http://www.ioncube.com/loader-wizard/loader-wizard.tgz    
    tar -xzf loader-wizard.tgz
    
  5. Using your web browser, navigate to http://<yourip>/ioncube/loader-wizard.php.

  6. Wait for the website to load. It will prompt you to select a hosting option.

  7. Select the “Dedicated/VPS server” option and fill in the “Company details” with:

    Name: Vultr
    
    Address: https://www.vultr.com
    
  8. IonCube will prompt you to copy a file from the folder that you have just uploaded to another folder on the VPS. Do that using the WinSCP connection. You may find it easier to download and re-upload the file. The directory that it has told you should be the PHP extensions directory that we found earlier.

  9. The bottom of the webpage will show you a link to a file called 20-ioncube.ini.

  10. Download that file and open it in your favorite text editor. It will contain one line that is very similar to this:

    zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so
    
  11. Back in the ssh connection, enter this command to locate the php.ini file:

    php -i | grep 'Configuration File'
    

    The output will appear similar to:

    Configuration File (php.ini) Path => /etc
    Loaded Configuration File => /etc/php.ini
    
  12. Once you have located it, open it in your favorite text editor.

    nano /path/to/php.ini
    
  13. Add the zend_extension line that we found earlier to the top of this file, below the line that reads [PHP].

  14. Restart PHP and Apache.

    /etc/init.d/apache2 restart
    
  15. In your web browser, navigate to http://<yourip>/ioncube/loader-wizard.php.

  16. You may see an error about the fact that some functions may be unavailable. I haven’t noticed any issues due to this error message.

  17. Enjoy! You can now install your application that needs IonCube loader.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Converting from MySQL to MariaDB on Ubuntu

Next Post

Installing Arch Linux On a Vultr Server

Next Post

Installing Arch Linux On a Vultr Server

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