Welcome to Centmin Mod Community
Become a Member

Beta Branch add PHPIONCUBE variable for ioncube loader PHP extension

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 27, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    5:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add PHPIONCUBE variable for ioncube loader PHP extension

    For 123.09beta01 and higher builds only. Will default to PHPIONCUBE='n' in centmin.sh. You can enable it via persistent config file /etc/centminmod/custom_config.inc and set it to

    Code:
    PHPIONCUBE='y'
    
    then compile or recompile PHP via centmin.sh menu option 5

    Continue reading...


    123.09beta01 branch
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    10:39 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    So now it is included on Centminmod and is not as an addon anymore and not need to reinstall it after upgrade of php?

    Also there should be a check or warning that it doesn't work for php 7 if i am not wrong :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    5:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes, when PHPIONCUBE='y' is set it just runs addons/ioncube.sh addon itself automatically on php recompiles via centmin.sh menu option 5 :)

    Code:
    php --ri 'ionCube Loader'
    ionCube Loader
    Code:
    php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/a_customphp.ini,
    /etc/centminmod/php.d/curlcainfo.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/ioncube.ini,
    /etc/centminmod/php.d/mailparse.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/redis.ini,
    /etc/centminmod/php.d/zendopcache.ini