Simple Installation of the PHP ionCube Component on CentOS
4,357 0
ionCube Encoder can convert PHP source code into bytecode. After encryption and authorization processing, the PHP code is no longer open source and can only be executed using ionCube Loader.
PHP itself does not include the ionCube Loader module, so it must be downloaded from the ionCube website. ionCube Loader is free, but Encoder is relatively expensive (starting at $199). This article introduces the installation method for ionCube Loader and applies to installations in various PHP environments.
Installation Steps
- Open the installation directory
Bash Bash
cd /usr/local/
- Download the component package. Be sure to select the version suitable for your system:
Bash Bash
# 32 位系统
wget -O ioncube.zip http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.zip
# 64 位系统
wget -O ioncube.zip http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip
- Extract the component package
Plain Text Plain Text
tar xvfz ioncube.zip- Locate the php.ini file and add the following line at the beginning of the Zend configuration file:
Plain Text Plain Text
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.6.soReplace 5.6 with the corresponding PHP version.
After the configuration is successful, restart the web server to view the result.
Comments
(0)No comments yet. Start the conversation.