ioncube after upgrade

  • Hello,
    I upgraded my system (to debian 8.5 and imscp 1.2.17) and I had to install ioncube. I made it with ioncube.ini under /mods-available/ .
    It works, but I get every hour this message.
    __________________________________
    Cron [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean


    Cannot load the ionCube PHP Loader - extension alreadyloaded Cannot load the ionCube PHP Loader - extension already loaded
    __________________________________


    Can someone help me, please?


    Greatings.

  • Hello,


    ls -la /etc/php5/cli/conf.d result?
    grep -nr ioncube /etc/php5/cli/conf.d result?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • insgesamt 8
    drwxr-xr-x 2 root root 4096 Jun 22 19:36 .
    drwxr-xr-x 3 root root 4096 Jun 21 22:49 ..
    lrwxrwxrwx 1 root root 32 Jun 22 19:36 01-ioncube.ini -> ../../mods-available/ioncube.ini
    lrwxrwxrwx 1 root root 32 Jun 22 02:06 05-opcache.ini -> ../../mods-available/opcache.ini
    lrwxrwxrwx 1 root root 32 Jun 22 02:06 10-mysqlnd.ini -> ../../mods-available/mysqlnd.ini
    lrwxrwxrwx 1 root root 28 Jun 22 02:06 10-pdo.ini -> ../../mods-available/pdo.ini
    lrwxrwxrwx 1 root root 28 Jun 22 02:06 20-apc.ini -> ../../mods-available/apc.ini
    lrwxrwxrwx 1 root root 29 Jun 21 22:50 20-apcu.ini -> ../../mods-available/apcu.ini
    lrwxrwxrwx 1 root root 29 Jun 22 02:06 20-curl.ini -> ../../mods-available/curl.ini
    lrwxrwxrwx 1 root root 27 Jun 22 02:06 20-gd.ini -> ../../mods-available/gd.ini
    lrwxrwxrwx 1 root root 29 Jun 22 02:06 20-imap.ini -> ../../mods-available/imap.ini
    lrwxrwxrwx 1 root root 29 Jun 22 02:06 20-intl.ini -> ../../mods-available/intl.ini
    lrwxrwxrwx 1 root root 32 Jun 22 19:33 20-ioncube.ini -> ../../mods-available/ioncube.ini
    lrwxrwxrwx 1 root root 29 Jun 22 02:06 20-json.ini -> ../../mods-available/json.ini
    lrwxrwxrwx 1 root root 31 Jun 22 02:06 20-mcrypt.ini -> ../../mods-available/mcrypt.ini
    lrwxrwxrwx 1 root root 31 Jun 22 02:06 20-mysqli.ini -> ../../mods-available/mysqli.ini
    lrwxrwxrwx 1 root root 30 Jun 22 02:06 20-mysql.ini -> ../../mods-available/mysql.ini
    lrwxrwxrwx 1 root root 34 Jun 22 02:06 20-pdo_mysql.ini -> ../../mods-available/pdo_mysql.ini


    grep -nr ioncube /etc/php5/cli/conf.d // here comes nothing

  • Re,


    Show us the content of the mods-available/ioncube.ini file.


    Thx

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • [ioncube]
    ; priority=01
    zend_extension = "/usr/lib/php5/desc/ioncube_loader_lin_5.6.so"
    zend_extension_ts = "/usr/lib/php5/desc/ioncube_loader_lin_5.6_ts.so"

  • @rr10111101


    Can I check on your server directly? If yes, add my ssh key (see my signature) for root user.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • wget http://downloads2.ioncube.com/…loaders_lin_x86-64.tar.gz
    tar xzvf ioncube_loaders_lin_x86-64.tar.gz
    mv ioncube/ /usr/lib/php5/20131226/
    nano /etc/php5/mods-available/ioncube.ini
    -> zend_extension = /usr/lib/php5/20131226/ioncube/ioncube_loader_lin_5.6.so
    ln -s /etc/php5/mods-available/ioncube.ini /etc/php5/cgi/conf.d/01-ioncube.ini
    ln -s /etc/php5/mods-available/ioncube.ini /etc/php5/cli/conf.d/01-ioncube.ini
    echo 'zend_extension = /usr/lib/php5/20131226/ioncube/ioncube_loader_lin_5.3.so' >> /opt/phpswitcher/php5.3/etc/php/conf.d/modules.ini
    echo 'zend_extension = /usr/lib/php5/20131226/ioncube/ioncube_loader_lin_5.4.so' >> /opt/phpswitcher/php5.4/etc/php/conf.d/modules.ini
    echo 'zend_extension = /usr/lib/php5/20131226/ioncube/ioncube_loader_lin_5.5.so' >> /opt/phpswitcher/php5.5/etc/php/conf.d/modules.ini
    echo 'zend_extension = /usr/lib/php5/20131226/ioncube/ioncube_loader_lin_5.6.so' >> /opt/phpswitcher/php5.6/etc/php/conf.d/modules.ini