I have installed ioncube as the link below
If your system is the 64-bit version, download the following package:
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
Unpack the downloaded tar archive:
tar xfz ioncube_loaders_lin_x86-64.tar.gz
Then type this
sudo cp ioncube/ioncube_loader_lin_7.4.so /usr/lib/php/20190902
Open the php.ini file with your favorite text editor:
/etc/php/7.4/cli/php.ini
/etc/php/7.4/fpm/php.ini
and add the following line at the top of the file:
zend_extension…
I host a whmcs website and it works fine
But I get the following message from corn job
Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.
Please visit get-loader.ioncube.com for install assistance.
What could be the error? How to make it
Error VPS, when typed this shows php -v as php 8.0 I think the website is running php 7.4, corn job php 8.0 is running so I get this error. Isn’t that the problem?
This error does not occur with my other VPS Its terminal shows the default php version as php -v php7.4 when I type this
You’ll need to install the loader also in php8.0, not only 7.4.
eris
December 3, 2021, 7:39am
3
Or use /usr/bin/php7.4 in cronjob command
2 Likes
// Set alternative name path. Try this if for HestiaCP with NGINX only… (for mi work perfect)
sudo apt-get install -y php7.4-dev gcc make autoconf libc-dev pkg-config
sudo update-alternatives --set php /usr/bin/php7.4
sudo update-alternatives --set phar /usr/bin/phar7.4
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4
sudo update-alternatives --set phpize /usr/bin/phpize7.4
sudo update-alternatives --set php-config /usr/bin/php-config7.4
Ando then add the ioncube-loader extensión…
I hope resolved with this remember si Only flor HestiaCP with Nginx server and php-fpm Only!!! For Apache+Nginx si other code!!!
Don’t have yet version for php 8.*, must stablish in php 7.4… (sorry my bad english)
8.0 ionCube is not supported Is there a solution?
I do not use Nginix alone
system
Closed
January 2, 2022, 6:16pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.