ioncube loader and ipsconfig

Discussion in 'ISPConfig 3 Priority Support' started by Tom John, Mar 25, 2021.

  1. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,
    i use ubuntu 20.04 with ispconfig 3
    after installing ioncube php loader i still get an error on the website cl-i.net
    Code:
    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.
    
    i did install the ioncube loader as here:
    https://tecadmin.net/how-to-install-ioncube-in-ubuntu-20-04/
    and when i check with php -v i get:
    this was the information when i put zend_extension in /cli/php.ini but i deleted it because it does not work and put in in /fpm/php.ini

    Code:
    oot@server6:~# php -i | grep php.ini
    Configuration File (php.ini) Path => /etc/php/7.4/cli
    Loaded Configuration File => /etc/php/7.4/cli/php.ini
    root@server6:~# php -v
    PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
        with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
        with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
    root@server6:~#
    
    
    i put in the /etc/php/7.4/fpm/php.ini and as well in the /cli/php.ini
    Code:
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_7.4.so
    
    loaded configuration file is

    /etc/php/7.4/fpm/php.ini
    it seems that everything is installed fine but however it does not work.
    curious is that with php -i | grep php.ini the /etc/php/7.4/cli/php.ini is loaded
    Code:
    root@server6:/var/www/cl-i.net/web# php -i | grep php.ini
    Configuration File (php.ini) Path => /etc/php/7.4/cli
    Loaded Configuration File => /etc/php/7.4/cli/php.ini
    root@server6:/var/www/cl-i.net/web#
    
    but the cl-i.net/info.php gives the information that
    /etc/php/7.4/fpm/php.ini
    is loaded.
    maybe you have any idea what is going wrong here?
    thanks a lot for your kind help
     
    Last edited: Mar 25, 2021
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

  3. atle

    atle Member HowtoForge Supporter

    ahrasis likes this.
  4. Tom John

    Tom John Active Member HowtoForge Supporter

    thanks a lot for your help it works now
     

Share This Page