Installing ionCube on Your Linux Hosting Account
By default, ionCube
If you use PHP 5.3, you must use Zend Guard Loader instead of Zend Optimizer. For more information, see Using Zend Guard Loader.
NOTE: Before enabling ionCube support, you must enable Zend Optimizer. The ion cube lines of script must be above the Zend Optimizer script in the php5.ini file. For more information, see Using Zend Optimizer.
To use ionCube with our hosting accounts, you must disable APC. For more information, see Disabling APC on Your Hosting Account.
If you want to use ionCube with a secondary domain name, you must reference the root of the hosting account, where both ionCube and the php5.ini file are located.
To Install ionCube
- Download the compressed Linux x86 binary file from ionCube's site. We recommend using the ZIP file.
- Upload the compressed file to your hosting account. For more information, see Uploading Files Using the FTP File Manager.
- Unarchive the compressed file in your hosting account. For more information, see Unarchiving Files and Directories with Your Hosting Account.
NOTE: Unarchiving the compressed file creates the necessary
/ioncubedirectory. - Add the following lines of script to your
php5.inifile to reference the absolute path to the binary:[Zend]
zend_extension=/absolutepath/ioncube/ioncube_loader_lin_X.X.soNOTE:: If your account does not have a
php5.inifile, you must create one.- Replace "absolute path" with your absolute path. See Finding Your Hosting Account's Absolute Path.
- Replace "X.X" with "5.2" using PHP5.2 or “5.3” if using PHP5.3. See Programming Languages in your Control Panel in your hosting account to see which version you have.
NOTE: The
zend_extensionscript must appear as the first line after[Zend].
If you experience issues with ionCube after completing these steps, disabling FastCGI might resolve them. For more information, see Disabling FastCGI in your Hosting Account.
Have a question about the content of this article?
Sending Message...
0 min expected wait time