Using the ionCube PHP Loader
The ionCube PHP Loader is a PHP extension that decodes and executes files encoded with the ionCube Encoder. Many commercial PHP applications use ionCube to protect their source code. On ruachost.com, ionCube Loader is supported across hosting environments.
What is ionCube Loader?
Section titled “What is ionCube Loader?”- A runtime extension that allows encoded PHP files to run.
- Provides protection against reverse engineering and unauthorized modification.
- Required by many third‑party applications and plugins.
Availability on Ruachost Servers
Section titled “Availability on Ruachost Servers”Shared Hosting and Reseller Accounts
Section titled “Shared Hosting and Reseller Accounts”- ionCube Loader is enabled by default.
- You can verify by checking your PHP configuration with
phpinfo(). - If using a non‑default PHP version, additional configuration may be required.
Managed VPS and Managed Dedicated Servers
Section titled “Managed VPS and Managed Dedicated Servers”- ionCube Loader is enabled by default.
- Confirm via
phpinfo()or cPanel’s PHP Selector.
Unmanaged VPS and Dedicated Servers
Section titled “Unmanaged VPS and Dedicated Servers”- If you install a LAMP stack using Webuzo, ionCube Loader is included automatically.
- If you install Apache and PHP manually, you must download and configure ionCube Loader yourself.
Manual Installation (Unmanaged Servers)
Section titled “Manual Installation (Unmanaged Servers)”-
Download ionCube Loader
Section titled “Download ionCube Loader”Terminal window wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -
Extract the files
Section titled “Extract the files”Terminal window tar xvzf ioncube_loaders_lin_x86-64.tar.gz -
Move the ionCube directory
Section titled “Move the ionCube directory”Terminal window mv ioncube /usr/local -
Edit php.ini Add the following line (replace
x.ywith your PHP version, e.g.,8.1):zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.y.so -
Restart Apache
Section titled “Restart Apache”-
AlmaLinux/Fedora:
Terminal window service httpd restart -
Debian/Ubuntu:
Terminal window service apache2 restart
-
Verifying Installation
Section titled “Verifying Installation”-
Create a file named
info.phpwith:<?php phpinfo(); ?> -
Access it via browser:
http://yourdomain.com/info.php. -
Look for the ionCube Loader section to confirm it is active.
-
Delete the file afterward for security.