Difference between revisions of "Installing IonCubeLoader"

From rbachwiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 30: Line 30:


==[[Main_Page| Home]] - [[Ubuntu_Tips|Category]]==
==[[Main_Page| Home]] - [[Ubuntu_Tips|Category]]==
[[Category:Linode sqlite]]
[[Category:Linode]][[Category:Sqlite]]

Latest revision as of 20:51, 10 May 2022

Check PHP version

php -v

Get software

$ sudo wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xzf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local

or https://www.ioncube.com/loaders.php


Check which PHP Configuration file is working

php -i | grep php.ini

Add the extension to PHP

 sudo nano /etc/php/7.4/cli/php.ini

Also add it to

/etc/php/7.4/apache2/php.ini


Go at the bottom and enter the following command

 zend_extension = /usr/local/ioncube/ioncube_loader_lin_7.4.so

To check that IonCube loader is installed successfully, type the following command on the terminal:

php -v


Home - Category