DevOps
Linux Systems Engineer
- Joined
- Oct 18, 2019
- Messages
- 199
- Reaction score
- 18
- Points
- 18
- Location
- Novosibirsk, Russia
- Website
- addons.vevioz.com
Offline
Overview
This guide will help you to install / upgrade ioncube loaders on your Webuzo server.Requirements
- Webuzo must be installed on the server.
- PHP must be installed on the server.
Download And Extract Ioncube Loaders
Download and Extract the ioncube loaders as per your Linux version and architecture from http://www.ioncube.com/loaders.phpLocate The Php.Ini
You can locate the php.ini for the current version of PHP using the following commandThe path to configuration file (php.ini) is
Code:
For PHP 5.3 : Path => /usr/local/apps/php53/etc
For PHP 5.4 : Path => /usr/local/apps/php54/etc
For PHP 5.5 : Path => /usr/local/apps/php55/etc
For PHP 5.6 : Path => /usr/local/apps/php56/etc
For PHP 7.0 : Path => /usr/local/apps/php70/etc
For PHP 7.1 : Path => /usr/local/apps/php71/etc
For PHP 7.2 : Path => /usr/local/apps/php72/etc
For PHP 7.3 : Path => /usr/local/apps/php73/etc
Uploading The Ioncube Loader
You have to upload the ioncube loader to the PHP extensions directory for the php version fetched in the above step. For example for PHP 5.6 file name shall be: ioncube_loader_lin_5.6.so
Code:
For PHP 5.6 : /usr/local/apps/php56/ext/
Editing The Php.Ini
Add the following line to the end of php.ini to enable the ioncube extension.
Code:
zend_extension=/usr/local/apps/php56/ext/ioncube_loader_lin_5.6.so
Verification
Confirm and verify whether Ioncube has been enabled by using the following commandThe result should be as under
Code:
PHP 5.6.16 (cli) (built: Dec 4 2015 19:26:12)
Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0,
Copyright (c) 1998-2015 Zend Technologies with the ionCube PHP Loader v5.0.19,
Copyright (c) 2002-2015, by ionCube Ltd.