From Lunarpages Web Hosting Wiki
IonCube is installed on all of our Linux servers.
You can use it by creating a php.ini file in your /public_html/ directory. In this file, you should have the following:
[Zend] zend_extension=/usr/local/IonCube/ioncube_loader_lin_5.2.so zend_optimizer.optimization_level=15 zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3 zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3 zend_optimizer.version=3.3.3
Please note: if you are using PHP 4.x, you will need to change
After the php.ini file is created, you need to edit the .htaccess file to add:
- (Change username to your Lunarpages username.)
You can verify that everything is loaded properly by looking at phpinfo() output.
You can create a PHP file containing:
<? phpinfo() ?>
Above the line that says PHP Credits, you will see a box and in this box should be references to IonCube PHP Loader and Zend Optimizer.
If you can not get this working, feel free to open a ticket on our helpdesk and we can assist you with this.