The process for installing IonCube within your VPS (Virtual Private Server) or dedicated server is quite straightforward. However, to make things even simpler, we’ve separated the installation instructions into two parts, configuration analysis and installation. Please follow the step-by-step directions outlined below.
Analyzing your environment:
- Login to your VPS or Dedicated Server via SSH
- Choose/Copy the IonCube loader from the following URL:
# http://www.ioncube.com/loaders.php
- Once done, please run the following command within SSH:
# cd /home/ && mkdir misc && cd misc/ && wget http://path-to-your-ioncube-loader-of-choice.tar.gz
- Adjust the values mentioned above in BOLD
- Next, please run the following commands within SSH:
# tar -zxvf ioncube_loaders.tar.gz && cd ioncube/
Upon having completed the aforementioned steps, you will need to move the file called "ioncube-install-assistant.php" to a web accessible folder. Once done, please go to the URL to load the page.
Please note, that you my need to adjust the permissions/ownership of the files before they become web accessible. To do this, you’ll be able to use the "chown" command.
Installing IonCube loaders:
- Next, please run the following command within Linux:
# cd /home/misc/ && mv ioncube/ /usr/local/ && vi /usr/local/lib/php.ini
- Now, you should see a file that you can configure, please locate the following:
[Zend]
extension=/usr/local/phpshield/phpshield.5.3.lin
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
- Once located, please adjust it to the following configuration:
[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5_3.so
extension=/usr/local/phpshield/phpshield.5.3.lin
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
- The newly added line is outlined in BOLD for simplicity.
- Once finished, please save (esc key + :wq) and exit!
- Finally, please run the following command to apply your changes to apache:
# /etc/init.d/httpd restart
Should you have any further questions pertaining to your hosting licenses, please feel free to get in contact with the LicenseCube support team for additional assistance.