How to enable the ionCube Loader module for PHP 8 shipped with Plesk?

Follow

Comments

9 comments

  • Avatar
    Tommy TBones Cramer

    I followed the instructions and still don't have ioncubeloader.
    php -v
    PHP 7.4.3 (cli) (built: Aug 17 2022 13:29: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

    I guess I have to find how to change the base PHP version

    1
    Comment actions Permalink
  • Avatar
    Tommy TBones Cramer

    This is how I got PHP8.1 working
    add-apt-repository ppa:ondrej/php
    plesk installer add --components php8.1(change the version number I'm using php8.1)
    apt install php8.1-{gd, zip,mysql,oauth,yaml, fmp,mbstring,memcache}
    php --modules
    systemctl restart apache2
    php -v
    PHP 8.1.9 (cli) (built: Aug 15 2022 09:39:52) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.9, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.9, Copyright (c), by Zend Technologies

    -1
    Comment actions Permalink
  • Avatar
    abhinav chaturvedi

    not working

    please help

    1
    Comment actions Permalink
  • Avatar
    Jens Noack

    missing in the description :

    echo "zend_extension=ioncube_loader_lin_8.1.so" >> /opt/plesk/php/8.1/etc/php.ini

    1
    Comment actions Permalink
  • Avatar
    Michel vd Lingen

    Very poor manual, doesn't even work and is missing essential stuff.
    Plesk pricing is going up (again) and support is going down unfortunately.

    1
    Comment actions Permalink
  • Avatar
    Eugenio Carrio Donoso
    Hello, thanks, I followed the instructions, but it does not work, please, some instructions that work in Alma Linux 8 with Plesk for linux
    1
    Comment actions Permalink
  • Avatar
    Eugenio Carrio Donoso
    Install ioncube 8.1 to plesk ( https://talk.plesk.com/threads/how-to-install-ioncube-loader-for-plesk-php-8-0.363105/ )

    wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    tar -xvf ioncube_loaders_lin_x86-64.tar.gz
    /bin/cp -a ioncube/ioncube_loader_lin_8.1.so /opt/plesk/php/8.1/lib64/php/modules/ioncube_loader_lin_8.1.so
    echo "zend_extension=ioncube_loader_lin_8.1.so" >> /opt/plesk/php/8.1/etc/php.ini
    service httpd restart && service plesk-php81-fpm restart
    /opt/plesk/php/8.1/bin/php -v | grep -i ioncube
     
     
    1
    Comment actions Permalink
  • Avatar
    Glenn Es

    For me the command worked, just had to reboot the server (restarting some service would probably have been enough, but sudo reboot was quicker I guess)

    0
    Comment actions Permalink
  • Avatar
    Moataz Moussa (Edited )

    #NOTE# 

     

    These instructions wouldn't work unless you updated your Plesk control panel to the latest version (Plesk ObsidianVersion 18.0.49).

    If you've got an outdated Plesk control panel, you'll not be able to find the PECL installer or the --extension-install option from the CLI.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request