Linux Troubleshooting Make Easy.

Linux Learning & Troubleshooting Make Easy.

Install ionCube Loader In Linux


IonCube produces leading tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. Featuring an advanced compiled-code encoding engine that translates source to highly efficient bytecodes, ionCube encoding tools deliver the ideal combination of maximum source code protection without sacrificing performance, reliability or language compatibility.
Requirements:
- Root Shell access to your server
- phpinfo page: create a new document and call it phpinfo.php. Inside place
- Place this document in your www directory so you can view it and see all your PHP settings.




Installing ionCube Loader:

Download the program and store it on your server using wget or FTP.
http://www.ioncube.com/loader_download.php

Unpack the program:
#  tar -zxvf ioncube_loaders.tar.gz

Enter to ioncube Directory:
#  cd ioncube_loaders

Copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window.
#  cp ioncube-install-assistant.php /home/userdirectoryhere/www

Then open it http://www.yourdomain.com/ioncube-install-assistant.php
The output should be something similar to:

Analysis of your system configuration.

PHP Version 4.3.3
Operating System Linux
Threaded PHP No
php.ini file /usr/local/lib/php.ini
Required Loader ioncube_loader_lin_4.3.so

Now lets move the iconcube directory to a permanent location:
#  cd ..
#  mv ioncube /usr/local

Edit the php.ini file:
#  vi /usr/local/lib/php.ini

Now find where other zend extentions are in the file.
#  ctrl + w: zend_extension

Paste in your new line for ioncube loader:

zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.3.so

Save the changes
#  ctrl + X then Y and enter

Restart the web server to take effect.
#  /etc/init.d/httpd restart

You can see a section in your PHP Info page that says:
Additional Modules
Module Name ionCube Loader

No comments: