Difference between revisions of "Ioncube Installation Tutorial"
(→cPanel & WHM) |
|||
(9 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ionCube Loader® is an extension for PHP that allows the system to decode and execute encoded files. Encoded files execute and load faster, giving better performance results for WHMCS. ionCube Loader is a [[System Environment Guide|requirement]] for running WHMCS. | |
+ | == Installing ionCube Loader == | ||
− | + | For Linux applications, installation requires root access to the server. If you do not have root access and your server does not have ionCube Loader already, contact your hosting provider for assistance. If you do not know whether you have ionCube Loader, you can check by creating a <tt>phpinfo</tt> page and visiting it in your browser | |
− | |||
− | |||
− | = | + | <source lang="php"> |
+ | <?php phpinfo(); ?> | ||
+ | </source> | ||
− | + | === cPanel & WHM === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | You can use two methods to install ionCube Loader on a cPanel & WHM server: | |
+ | |||
+ | To install via WHM: | ||
+ | |||
+ | # Go to '''WHM >> EasyApache'''. | ||
+ | # Find '''ioncubeXX''' in the '''PHP Extensions''' list, where <tt>XX</tt> is the ionCube Loader version. | ||
+ | # Select the correct package for your PHP version. | ||
+ | # Finalize the installation. | ||
+ | |||
+ | To install via SSH: | ||
+ | |||
+ | # SSH in to your server as the <tt>root</tt> user. | ||
+ | # Run the following command, where <tt>YY</tt> is the desired PHP version: <source lang="bash">yum install ea-phpYY-php-ioncubeXX</source> | ||
+ | |||
+ | === Other Servers === | ||
+ | |||
+ | To install ionCube Loader on other servers: | ||
+ | |||
+ | # Download [http://www.ioncube.com/loaders.php the latest supported ionCube Loader]. | ||
+ | # Extract the contents of the archived file on your local computer. | ||
+ | # Upload the <tt>IONCUBE</tt> folder via FTP to your domain. | ||
+ | # Establish an SSH connection with the server using a suitable client (for example, PuTTY or Terminal). Usually, this requires you to run the following command and supply your password: <source lang="bash">SSH rootusername@example.com</source> | ||
+ | # Browse to the public folder that contains the <tt>IONCUBE</tt> directory. | ||
+ | # Move the folder to a permanent location: <source lang="bash">mv ioncube /usr/local</source> | ||
+ | # Locate the <tt>php.ini</tt> file: <source lang="bash">locate php.ini</source> Usually, you can find it at <tt>/usr/local/lib/php.ini</tt>. | ||
+ | # Edit the file using your preferred editor. | ||
+ | # Find the other Zend extensions (<tt>zend_extension</tt>). | ||
+ | # Add a new line for ionCube Loader: <source lang="bash">zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.so</source> Replace <tt>x</tt> with your version of PHP. | ||
+ | # Save the changes. | ||
+ | # Restart the server: <source lang="bash">/etc/init.d/httpd restart </source> | ||
+ | |||
+ | To verify that installation was successful, check the PHP Info output for your server. You should see a new section: | ||
Additional Modules | Additional Modules | ||
Module Name ionCube Loader | Module Name ionCube Loader | ||
− | + | <div class="docs-alert-danger"> | |
+ | WHMCS Support cannot assist with any ionCube Loader problems you may be continuing to have. For help, contact [http://support.ioncube.com ionCube support] directly. | ||
+ | </div> |
Latest revision as of 14:53, 2 January 2024
ionCube Loader® is an extension for PHP that allows the system to decode and execute encoded files. Encoded files execute and load faster, giving better performance results for WHMCS. ionCube Loader is a requirement for running WHMCS.
Installing ionCube Loader
For Linux applications, installation requires root access to the server. If you do not have root access and your server does not have ionCube Loader already, contact your hosting provider for assistance. If you do not know whether you have ionCube Loader, you can check by creating a phpinfo page and visiting it in your browser
<?php phpinfo(); ?>
cPanel & WHM
You can use two methods to install ionCube Loader on a cPanel & WHM server:
To install via WHM:
- Go to WHM >> EasyApache.
- Find ioncubeXX in the PHP Extensions list, where XX is the ionCube Loader version.
- Select the correct package for your PHP version.
- Finalize the installation.
To install via SSH:
- SSH in to your server as the root user.
- Run the following command, where YY is the desired PHP version:
yum install ea-phpYY-php-ioncubeXX
Other Servers
To install ionCube Loader on other servers:
- Download the latest supported ionCube Loader.
- Extract the contents of the archived file on your local computer.
- Upload the IONCUBE folder via FTP to your domain.
- Establish an SSH connection with the server using a suitable client (for example, PuTTY or Terminal). Usually, this requires you to run the following command and supply your password:
SSH rootusername@example.com
- Browse to the public folder that contains the IONCUBE directory.
- Move the folder to a permanent location:
mv ioncube /usr/local
- Locate the php.ini file: Usually, you can find it at /usr/local/lib/php.ini.
locate php.ini
- Edit the file using your preferred editor.
- Find the other Zend extensions (zend_extension).
- Add a new line for ionCube Loader: Replace x with your version of PHP.
zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.so
- Save the changes.
- Restart the server:
/etc/init.d/httpd restart
To verify that installation was successful, check the PHP Info output for your server. You should see a new section:
Additional Modules Module Name ionCube Loader
WHMCS Support cannot assist with any ionCube Loader problems you may be continuing to have. For help, contact ionCube support directly.