Site error: the file /data/httpd/domain.com/public_html/application/controllers/frontpage.php requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
1. Download the following archives of Loaders for Linux x86-64
cd /usr/local sudo wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
2. Copy or move the Loader files
PHP modules’ folder can be found using
php -i | grep extension_dir
Example of an output
mv /usr/local/ioncube/* /usr/lib/php/20151012/
3. Load the ioncube loader in your php.ini
Open your php.ini
nano /etc/php5/fpm/php.ini
and add the following line
zend_extension = /usr/lib/php/20151012/ioncube_loader_lin_5.6.so
4. Restart php-fpm
service php5-fpm restart
Thats it!
Forget those 20_ioncube.ini or ioncube.ini!
They were causing me 502 Bad Gateway!
Tested on Digital Ocean!
Thanks much!
This “3. Load the ioncube loader in your php.ini” helped me really much
Yeah me too!
Followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-ioncube-loader
But the third step is missing there and that was the solution.
Thank you!