- 1. Getting Started
Installing the PHP ionCube Extension
- 2026-05-09 12:09:07
- Sanplex Content
- 245
- Last edited by WANG JING on 2026-05-09 12:09:07
- Share links
When installing and using Sanplex Standard, Premium, and Enterprise editions, installing the corresponding PHP version of the ionCube extension is required. If you deployed Sanplex using the one-click installation package, the ionCube extension is already included by default.
If the ionCube extension is not installed, you will see a prompt like the one below when accessing your Sanplex site.
图1
I. Download the ionCube Loader Wizard
ionCube provides a setup wizard that conveniently detects your PHP runtime environment and automatically generates tailored installation instructions.
Download the wizard here: https://www.ioncube.com/loader-wizard/loader-wizard.zip
After downloading, extract the file into your Apache www or htdocs directory, or directly into the Sanplex www directory (for example, sanplex\www\loader-wizard.php).
图2
II. Run the Setup Wizard
Step 1: Open your browser and visit: http://your-domain/loader-wizard.php. This will open the ionCube setup wizard. Below is a detailed example of installing the ionCube extension for PHP 7.2.
图3
Step 2: Follow the wizard's on-screen instructions. Place the downloaded package in the specified directory and extract it. Then, copy the corresponding PHP 7.2 file (ioncube_loader_lin_7.2.so) to the designated directory (e.g., /usr/lib/php/20170718).
图4
Step 3: Click to download the 00-ioncube.ini file. As instructed by the wizard, move it to the /etc/php/7.2/fpm/conf.d directory, and then restart php-fpm.
Note: The paths below are just examples. Please ensure you place the file in the specific directory prompted by your environment.
Bash
cd /etc/php/7.2/fpm/conf.d
sudo rz 00-ioncube.ini
sudo systemctl restart php7.2-fpm
图5
Step 4: Refresh the wizard page in your browser. If you see the success message shown below, congratulations—you have successfully installed the ionCube extension. You can follow this exact same process for other PHP versions.
图6
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: [email protected]