install ioncube PHP Loader on server 32 bit and 64 bit

  • 2015-5-8 : 5.0.4 : Fix for potentially excessive memory usage. Updating recommended.
    5.0.4
    May 8, 2015

    my System :



    - Distribution: Debian | Release: 9.8 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.2.1), Mailgraph (v 1.1.1), OpenDKIM (v 1.1.3), PanelRedirect (v 1.1.5) & SpamAssassin (v 1.1.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 4.0.1), RoundcubePlugins (v 2.0.1)


  • 5.1.2



    2016-3-22


    Download

    my System :



    - Distribution: Debian | Release: 9.8 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.2.1), Mailgraph (v 1.1.1), OpenDKIM (v 1.1.3), PanelRedirect (v 1.1.5) & SpamAssassin (v 1.1.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 4.0.1), RoundcubePlugins (v 2.0.1)



  • Linux (64 bits)


    Linux (32 bits)



    2016-9-16
    6.0.2



    Info Seite




    PHP 7 is now supported

    my System :



    - Distribution: Debian | Release: 9.8 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.2.1), Mailgraph (v 1.1.1), OpenDKIM (v 1.1.3), PanelRedirect (v 1.1.5) & SpamAssassin (v 1.1.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 4.0.1), RoundcubePlugins (v 2.0.1)

    Edited once, last by Speddy ().

  • Just a little correction about what you wrote there:
    The contents of the file /etc/php/conf.d/ioncube.ini should be:


    For PHP 5.3

    Code
    1. zend_extension = /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so; priority=00

    For PHP 5.4

    Code
    1. zend_extension = /usr/lib/php5/20100525/ioncube_loader_lin_5.4.so; priority=00

    For PHP 5.5

    Code
    1. zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so; priority=00

    For PHP 5.6

    Code
    1. zend_extension = /usr/lib/php5/20131226/ioncube_loader_lin_5.6.so; priority=00


    For PHP 7.0

    Code
    1. zend_extension = /usr/lib/php5/20151012/ioncube_loader_lin_7.0.so
    2. ; priority=00


    The comment you find there, is not just a simple comment. It tells the order the module should be loaded into PHP. Ioncube must be the first module in the load chain, so that's the reason I put 00 in as priority.
    Hope it helps.


    P.S: In my systems I didn't create /etc/php/conf.d/ioncube.ini but I've created /etc/php/mods-available/ioncube.ini
    Then I ran the command "php5enmod ioncube" and everything has been setted up correctly.

  • @kess


    That the way to go but if you put the shared library into the PHP extension directory (as you have done), you can discard the path:


    Code
    1. ; priority=00zend_extension = ioncube_loader_lin_7.0.so


    BTW: The priority field, it is generally placed at top.


    On my system, I've:


    Code
    1. root@jessie:/usr/local/src/imscp# ls /usr/lib/php5/20131226/ioncube_loader_lin_5.6.so
    2. /usr/lib/php5/20131226/ioncube_loader_lin_5.6.so
    3. root@jessie:/usr/local/src/imscp# cat /etc/php5/mods-available/ioncube.ini
    4. ; configuration for php ioncube loader
    5. ; priority=01
    6. zend_extension=ioncube_loader_lin_5.6.so
    7. root@jessie:/usr/local/src/imscp#


    Then, as you say, we can manage it using php5enmod/php5dismod. Note that on newer versions, those script are called phpenmod/phpdismod.

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