[BUG] Unable to install Softaculous Auto Installer extension in Plesk: ionCube Loader is not loaded

Follow

Comments

12 comments

  • Avatar
    fergus edmunds (Edited )

    I am having the same issue with Ubuntu 18.04.2. (Plesk Onyx 
    Version 17.8.11)

    /opt/plesk/php/7.2/bin/php -v | grep -i ioncubeApparently it has Ioncube loader:

    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright (c) 2002-2018, by ionCube Ltd.
    root@localhost:~#

    Please advise.

     

    0
    Comment actions Permalink
  • Avatar
    Dinara Aspembitova (Edited )

    Hello @fergus,

    I have reproduced the same behavior on a test server Ubuntu 18, Plesk 17.8 and I have reported this case.

    After getting the results, the article will be updated. Click "Follow" to be notified.

    Meanwhile, you can apply the workaround form the article https://support.plesk.com/hc/en-us/articles/115000228505 ,but change the "7.0" to "7.2".

    For example, 
    ----------
    cp ioncube/ioncube_loader_lin_7.2.so /usr/lib/php/20170718
    echo "zend_extension=ioncube_loader_lin_7.2.so" > /etc/php/7.2/cli/conf.d/00-ioncube-loader.ini
    echo "zend_extension=ioncube_loader_lin_7.2.so" > /etc/php/7.2/apache2/conf.d/00-ioncube-loader.ini
    echo "zend_extension=ioncube_loader_lin_7.2.so" > /etc/php/7.2/cgi/conf.d/00-ioncube-loader.ini
    echo "zend_extension=ioncube_loader_lin_7.2.so" > /etc/php/7.2/fpm/conf.d/00-ioncube-loader.ini
    ----------

     

     

    0
    Comment actions Permalink
  • Avatar
    fergus edmunds

    Thanks. That worked.

     

    0
    Comment actions Permalink
  • Avatar
    Christopher Danks

    this issue still happens in Plesk obsdian (centos 7)

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @Christopher Danks,

    Check whether PHP by OS vendor is installed:

     Tools & Settings > Updates > Web Hosting > PHP interpreter versios and install PHP from OS vendor.

    1
    Comment actions Permalink
  • Avatar
    Gerard Martin Stadalius

    The above instructions worked for me,it must be a bug in plesk just now especially if you have to reinstall the loader considering it tells you its loaded.Please fix this surely the devs can do this and iron out the bugs.

    0
    Comment actions Permalink
  • Avatar
    Horacio Stolovitzky

    I got ioncube error in CentOS Linux 7.7.1908  &  Plesk Obsidian Versión 18.0.21 

    The bug is still present in all php versions.  How to fix it?

     

    [root@server ~]# /opt/plesk/php/5.4/bin/php -v

    PHP 5.4.45 (cli) (built: Sep  1 2017 17:56:06)

    Copyright (c) 1997-2014 The PHP Group

    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

        with XCache v3.2.0, Copyright (c) 2005-2014, by mOo

        with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

        with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo

    [root@server ~]# /opt/plesk/php/5.6/bin/php -v

    PHP 5.6.40 (cli) (built: Jan 11 2019 12:07:15)

    Copyright (c) 1997-2016 The PHP Group

    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

        with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.

        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

    [root@server ~]# /opt/plesk/php/7.2/bin/php -v

    PHP 7.2.24 (cli) (built: Oct 25 2019 11:29:17) ( NTS )

    Copyright (c) 1997-2018 The PHP Group

    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

        with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.1, Copyright (c) 2002-2018, by ionCube Ltd.

        with Zend OPcache v7.2.24, Copyright (c) 1999-2018, by Zend Technologies

    [root@server ~]# /opt/plesk/php/7.3/bin/php -v

    PHP 7.3.11 (cli) (built: Oct 25 2019 11:29:28) ( NTS )

    Copyright (c) 1997-2018 The PHP Group

    Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies

        with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright (c) 2002-2018, by ionCube Ltd.

        with Zend OPcache v7.3.11, Copyright (c) 1999-2018, by Zend Technologies

    0
    Comment actions Permalink
  • Avatar
    Taras Ermoshin

    Hello @Horacio Stolovitzky!

    Softaculous Auto Installer uses only system PHP, engines shipped by Plesk in /opt/plesk/php/ are not used by it. And in Plesk Obsidian, system PHP is no longer pre-installed, which is causing the error. To fix it, install the component "PHP from OS vendor" either according to https://support.plesk.com/hc/en-us/articles/213901805 or with the command:

    # plesk installer add plesk --components phpgroup

    0
    Comment actions Permalink
  • Avatar
    Noah
    I tried to install softaculous over the webinterfaces but I get the following error:
    • The execution of pre-install.php has failed with the following message:
    • PHP is not installed. Please install PHP at /usr/bin/php to continue installation

    Plesk Version 18.0.23 Update Nr. 4
    OS Ubuntu 18.04 LTS

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @Noah,

    Check whether PHP by OS vendor is installed:

    Tools & Settings > Updates > Add/Remove Components > Web Hosting > PHP interpreter versions and install PHP from OS vendor.

    1
    Comment actions Permalink
  • Avatar
    Noah

    @Anzhelika

    It's not I will install it.

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Abdelrahman Moussa (Edited )

    In my situation the PHP CLI in use was 5.6 which didn't have ioncube installed.

    To know whether it is installed or not, go here:
    https://support.plesk.com/hc/en-us/articles/214529185-Is-the-Ioncube-loader-shipped-with-Plesk-PHP-packages-

    I changed the cli back to 7.2 (which is the OS vendor version). btw the 7.2 version also didn't have the ioncube extension installed, I followed the guide here to install it:

    https://support.plesk.com/hc/en-us/articles/115000228505-How-to-install-ioncube-loader-in-Ubuntu-16-04

    This one was a bit confusing

    So this ended up helping me better
    https://kb.virtubox.net/knowledgebase/install-ioncube-loader-php72-ubuntu-18-04-lts/

    To know which CLI is being used run:

    sudo php --version



    To view available CLI alternatives and change between them use this command:

    sudo update-alternatives --config php


    I hope this might help someone with the same issue :)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request