- Plesk Onyx for Linux
The IonCube loader is not available for Plesk PHP 7.1 at Plesk > Tools and Settings > PHP Settings > PHP 7.1.
The IonCube loader is not loaded on a server:
# /opt/plesk/php/7.1/bin/php -v
PHP 7.1 (cli) (built: Oct 14 2016 11:06:39) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.12, Copyright (c) 1999-2016, by Zend Technologies
One of the following errors can appear when trying to open a website on PHP 7.1 FPM:
PLESK_INFO: Site error: the file /var/www/vhosts/example.com/httpdocs/engine/Shopware/Plugins/Community/Core/SwagLicense/Bootstrap.php requires the ionCube PHP Loader ioncube_loader_lin_7.0.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
PLESK_INFO: Warning : realpath(): open_basedir restriction in effect. File(/opt/plesk/php/7.1/lib/php/modules) is not within the allowed path(s): (/var/www/vhosts/example.com/:/tmp/) in /var/www/vhosts/example.com/httpdocs/Tradesman/includes/class_factory.php on line 2
PLESK_INFO: 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.
Plesk PHP version was not updated. The IonCube loader is not available for Plesk PHP 7.1.
The IonCube loader is integrated into Plesk PHP 7.1.11
Follow instructions from the article to apply the latest Plesk update to install it.
or navigate Plesk > Tools and Settings > PHP Settings and set PHP version 7.0 or lower.