Want more timely Centmin Mod News Updates?
Become a Member

Install ioncube

Discussion in 'Add Ons' started by dooma, Oct 24, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Check your nginx and php error logs for any clues

    Nginx in your access.log and error.log in vhost listed paths in your nginx vhost where domain.com is your domain name at
    Code (Text):
    tail -25 /home/nginx/domains/domain.com/log/access.log
    tail -25 /home/nginx/domains/domain.com/log/error.log
    

    PHP-FPM in
    Code (Text):
    tail -25 /var/log/php-fpm/www-error.log
    

    and/or
    Code (Text):
    tail -25 /var/log/php-fpm/www-php.error.log
    

    tail -25 lists last 25 lines of the log.

    how are you connecting via pure-ftpd virtual ftp user ? what ftp client ? Check if you're ISP IP address is being blocked by CSF Firewall. See FAQ items 40 & 41.
     
  2. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:24 AM
    Hi,
    How can I modify these limits :

    Code:
    [root@server01 ~]# php -i | egrep '^upload_max_filesize|post_max_size'
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/mongo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/redis.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
    post_max_size => 40M => 40M
    upload_max_filesize => 40M => 40M
    
    Thanks
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:24 AM
    Hi

    I changed the post_max_size and upload_max_filesize to 100MB but still getting the same error ?! what's your advice ?

    Thanks
     
  5. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what error ? the 'PHP Warning: PHP Startup: Unable to load dynamic library' ?
    • If you upgraded and you get some PHP warnings that some PHP extensions are unable to load, all you need to do is delete the relevant *.ini files for them and then reinstall if you require the PHP extension. Similar to what you did here Install - ioncube | Centmin Mod Community
    Example of error on restart PHP-FPM
    Code (Text):
    fpmrestart
    Gracefully shutting down php-fpm . done
    Starting php-fpm [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done
    

    find the paths to the *.ini files
    Code (Text):
    php --ini 2>/devnull
    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/curlcainfo.ini,
    /etc/centminmod/php.d/custom_php.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/zendopcache.ini
    

    delete ones that are reported as unable to load so if geoip.so, igbinary.so, imagick.so, memcache.so and memcached.so are reported as unable to load, remove their respective *.ini files
    Code (Text):
    rm -rf /etc/centminmod/php.d/geoip.ini
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/memcached.ini
    

    in your case it's redis and mongodb
    Code (Text):
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    

    then restart PHP-FPM again
    Code (Text):
    fpmrestart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    

    Code (Text):
    php -v
    PHP 7.0.0-dev (cli) (built: Nov  6 2014 00:54:07)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.8.0-dev, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    


    Manually reinstall PHP extension



    For reported PHP extensions that do not load, i.e. "PHP Startup: Unable to load dynamic" and references PHPEXTENSIONNAME.so, some can be installed again via centmin.sh menu. For instance menu options 7, 9, 10, 12, 15, 18, and 19.

    for 123.08stable
    Code (Text):
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08
    --------------------------------------------------------
                       Centmin Mod Menu        
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Exit
    --------------------------------------------------------
    Enter option [ 1 - 23 ]
    --------------------------------------------------------
    


    for 123.09beta01 - menu options 7, 9, 10, 12, 13 (for redis), 15, 18, and 19 are relevant menu options that can be used only if the specific PHP extension is reporting as unable to load
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com 
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ]
    


    in your case just centmin.sh menu option 13 for redis
     
  6. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:24 AM
    I did everything and the php warnings disappeared but still the same problem ?! , can you help me regarding that ?
     
  7. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what is the same problem ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  9. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:24 AM
    I installed my WHMCS successfully but I got this error at the last step :
    Code:
    Critical Error
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into `tblconfiguration` (`setting`, `value`, `updated_at`, `created_at`) values (InstanceID, QTtGjhBaveHf, 2016-10-28 14:53:47, 2016-10-28 14:53:47))
     
  10. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    that's a WHMCS issue you probably want to contact WHMCS support for
     
  11. ndha

    ndha Member

    82
    10
    8
    Sep 28, 2014
    Ratings:
    +29
    Local Time:
    3:24 PM
    Latest
    10
    Hi @eva2000
    i'm using latest 123.09beta01 with php 7.0.12 (before was php 5.6 then upgrade it)
    reinstall imagick & redis php extension success but when try to install ioncube with php 7.0.12 it got me error,
    using Centmin Mod 123.09beta01 addons/ioncube.sh for install it.
    so i delete ioncube.ini and try reinstall 3 times still got same error..
    here is error that i got :
    Code (Text):
    ioncube loader installation started
    ioncube loader only supports PHP 5.3, 5.4, 5.5, 5.6 & 7.0
    http://blog.ioncube.com/2016/09/15/php-7-ioncube-loaders/
    
    2016-10-29 02:37:59 URL:http://www.ioncube.com/loaders.php [9124822] -> "ioncube_loaders_lin_x86-64.tar.gz" [1]
    ioncube/
    ioncube/ioncube_loader_lin_5.0.so
    ioncube/ioncube_loader_lin_4.3.so
    ioncube/ioncube_loader_lin_4.2.so
    ioncube/ioncube_loader_lin_5.6.so
    ioncube/ioncube_loader_lin_5.3.so
    ioncube/ioncube_loader_lin_5.5_ts.so
    ioncube/ioncube_loader_lin_5.4.so
    ioncube/loader-wizard.php
    ioncube/ioncube_loader_lin_4.3_ts.so
    ioncube/ioncube_loader_lin_5.5.so
    ioncube/LICENSE.txt
    ioncube/USER-GUIDE.pdf
    ioncube/ioncube_loader_lin_5.4_ts.so
    ioncube/ioncube_loader_lin_5.3_ts.so
    ioncube/ioncube_loader_lin_4.4.so
    ioncube/ioncube_loader_lin_4.4_ts.so
    ioncube/ioncube_loader_lin_5.2.so
    ioncube/USER-GUIDE.txt
    ioncube/ioncube_loader_lin_4.1.so
    ioncube/README.txt
    ioncube/ioncube_loader_lin_5.1_ts.so
    ioncube/ioncube_loader_lin_5.0_ts.so
    ioncube/ioncube_loader_lin_5.1.so
    ioncube/ioncube_loader_lin_5.6_ts.so
    ioncube/ioncube_loader_lin_5.2_ts.so
    
    gzip: stdin: decompression OK, trailing garbage ignored
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    cp: cannot stat `ioncube/ioncube_loader_lin_7.so': No such file or directory
    total 92K
    drwxr-xr-x 2 root root 4.0K Oct 29 02:37 .
    drwxr-xr-x 4 root root 4.0K Sep 30 21:55 ..
    -rw-r--r-- 1 root root  350 Oct 29 01:07 a_customphp.ini
    -rw-r--r-- 1 root root  348 Jul 22 14:30 a_customphp.ini-bak_200816-014648
    -rw-r--r-- 1 root root  348 Jul 21 15:04 a_customphp.ini-bak_210716-134218
    -rw-r--r-- 1 root root  348 Jul 21 15:04 a_customphp.ini-bak_210716-144920
    -rw-r--r-- 1 root root  348 Jul 21 15:04 a_customphp.ini-bak_220716-141629
    -rw-r--r-- 1 root root  348 Jul 21 15:04 a_customphp.ini-bak_260216-162945
    -rw-r--r-- 1 root root  358 Jul 21 15:04 a_customphp.ini-bak_280216-052030
    -rw-r--r-- 1 root root  350 Sep 30 22:35 a_customphp.ini-bak_291016-003139
    -rw-r--r-- 1 root root  358 Jul 21 15:04 a_customphp.ini-bak_300516-004821
    -rw-r--r-- 1 root root  348 Aug 20 01:52 a_customphp.ini-bak_300916-221837
    -rw-r--r-- 1 root root  125 Oct 29 02:35 b_customphp.ini
    -rw-r--r-- 1 root root   42 Oct 29 01:07 curlcainfo.ini
    -rw-r--r-- 1 root root   59 Oct 29 01:20 geoip.ini
    -rw-r--r-- 1 root root  253 Oct 29 01:50 igbinary.ini
    -rw-r--r-- 1 root root   51 Oct 29 01:54 imagick.ini
    -rw-r--r-- 1 root root   82 Oct 29 02:37 ioncube.ini
    -rw-r--r-- 1 root root   23 Oct 29 01:20 mailparse.ini
    -rw-r--r-- 1 root root  334 Oct 29 01:19 memcached.ini
    -rw-r--r-- 1 root root   78 Oct 29 01:19 memcache.ini
    -rw-r--r-- 1 root root   19 Oct 29 01:50 redis.ini
    -rw-r--r-- 1 root root  695 Oct 29 01:08 zendopcache.ini
    
    total 4.4M
    drwxr-xr-x 2 root root 4.0K Oct 29 01:54 .
    drwxr-xr-x 5 root root 4.0K Jul 21 14:11 ..
    -rwxr-xr-x 1 root root  78K Oct 29 01:20 geoip.so
    -rwxr-xr-x 1 root root 194K Oct 29 01:50 igbinary.so
    -rwxr-xr-x 1 root root 1.2M Oct 29 01:54 imagick.so
    -rwxr-xr-x 1 root root 204K Oct 29 01:20 mailparse.so
    -rwxr-xr-x 1 root root 349K Oct 29 01:19 memcached.so
    -rwxr-xr-x 1 root root 476K Oct 29 01:19 memcache.so
    -rwxr-xr-x 1 root root 348K Oct 29 01:17 opcache.a
    -rwxr-xr-x 1 root root 202K Oct 29 01:17 opcache.so
    -rwxr-xr-x 1 root root 1.5M Oct 29 01:50 redis.so
    
    ionCube Loader failed to install properly
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    delete the /svr-setup/ioncube_loaders_lin_x86-64.tar.gz /svr-setup/ioncube directory and try again could be corrupted download

    edit: ok looks like they renamed the php 7 file !

    Code (Text):
    ls -lah ioncube
    total 23M
    drwxr-xr-x 2  507 root 4.0K Oct 26 11:12 .
    drwxr-xr-x 3 root root 4.0K Oct 28 20:11 ..
    -rw-rw-r-- 1  507  507 453K Oct 26 08:36 ioncube_loader_lin_4.1.so
    -rw-rw-r-- 1  507  507 453K Oct 26 08:37 ioncube_loader_lin_4.2.so
    -rw-rw-r-- 1  507  507 453K Oct 26 08:37 ioncube_loader_lin_4.3.so
    -rw-rw-r-- 1  507  507 472K Oct 26 08:37 ioncube_loader_lin_4.3_ts.so
    -rw-rw-r-- 1  507  507 456K Oct 26 08:37 ioncube_loader_lin_4.4.so
    -rw-rw-r-- 1  507  507 472K Oct 26 08:37 ioncube_loader_lin_4.4_ts.so
    -rw-rw-r-- 1  507  507 465K Oct 26 08:38 ioncube_loader_lin_5.0.so
    -rw-rw-r-- 1  507  507 478K Oct 26 08:38 ioncube_loader_lin_5.0_ts.so
    -rw-rw-r-- 1  507  507 1.1M Oct 26 08:38 ioncube_loader_lin_5.1.so
    -rw-rw-r-- 1  507  507 1.1M Oct 26 08:39 ioncube_loader_lin_5.1_ts.so
    -rw-rw-r-- 1  507  507 1.1M Oct 26 08:39 ioncube_loader_lin_5.2.so
    -rw-rw-r-- 1  507  507 1.2M Oct 26 08:39 ioncube_loader_lin_5.2_ts.so
    -rw-rw-r-- 1  507  507 1.4M Oct 26 08:40 ioncube_loader_lin_5.3.so
    -rw-rw-r-- 1  507  507 1.4M Oct 26 08:41 ioncube_loader_lin_5.3_ts.so
    -rw-rw-r-- 1  507  507 1.5M Oct 26 08:41 ioncube_loader_lin_5.4.so
    -rw-rw-r-- 1  507  507 1.6M Oct 26 08:42 ioncube_loader_lin_5.4_ts.so
    -rw-rw-r-- 1  507  507 1.5M Oct 26 08:42 ioncube_loader_lin_5.5.so
    -rw-rw-r-- 1  507  507 1.6M Oct 26 08:43 ioncube_loader_lin_5.5_ts.so
    -rw-rw-r-- 1  507  507 1.5M Oct 26 08:43 ioncube_loader_lin_5.6.so
    -rw-rw-r-- 1  507  507 1.5M Oct 26 08:44 ioncube_loader_lin_5.6_ts.so
    -rw-rw-r-- 1  507  507 1.2M Oct 26 08:44 ioncube_loader_lin_7.0.so
    -rw-rw-r-- 1  507  507 1.3M Oct 26 08:45 ioncube_loader_lin_7.0_ts.so


    from ioncube_loader_lin_7.so to ioncube_loader_lin_7.0.so
     
  13. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    updated 123.08stable and 123.09beta01 addons/ioncube.sh with fix :)
     
  14. pamamolf

    pamamolf Premium Member Premium Member

    3,831
    374
    83
    May 31, 2014
    Ratings:
    +718
    Local Time:
    11:24 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I just update centminmod beta to latest version and i upgrade from latest 5.6.x to latest 7.0.x and i got at the end this one:

    Code:
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so: cannot open shared object file: No such file or directory
    PHP 7.0.13 (cli) (built: Dec  2 2016 18:00:51) ( NTS )
    But i have persistence entry on custom config file that it is always automate the installation of it.....

    Code:
    PHPIONCUBE='y'
    Any ideas?

    Thanks


    Before that one i got during install these errors also:

    Code:
    Auto reinstalling previously detected PHP extensions
    (B[m[1;32;40m----------------------------------------------------
    (B[m[1;33;40mAuto reinstalling previously detected igbinary extension
    (B[mFailed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/mailparse.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0
    7.0
    But the scripts was auto fix them by reinstalling them i think with no issues exept the ioncube one...

    Maybe they change the download link or something else causing that issue.... :(
     
    Last edited: Dec 3, 2016
  15. pamamolf

    pamamolf Premium Member Premium Member

    3,831
    374
    83
    May 31, 2014
    Ratings:
    +718
    Local Time:
    11:24 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Here is the log info for Ioncube failed installation:

    Code:
     ___              _          _  _   ___                ____        _           
    |_ _| _ __   ___ | |_  __ _ | || | |_ _| ___   _ __   / ___|_   _ | |__    ___
     | | | '_ \ / __|| __|/ _` || || |  | | / _ \ | '_ \ | |   | | | || '_ \  / _ \
     | | | | | |\__ \| |_| (_| || || |  | || (_) || | | || |___| |_| || |_) ||  __/
    |___||_| |_||___/ \__|\__,_||_||_| |___|\___/ |_| |_| \____|\__,_||_.__/  \___|
                                                                                  
                         _                       _             
                        | |     ___    __ _   __| |  ___  _ __
                        | |    / _ \  / _` | / _` | / _ \| '__|
                        | |___| (_) || (_| || (_| ||  __/| |   
                        |_____|\___/  \__,_| \__,_| \___||_|   
                                                              
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    
    ioncube loader installation started
    ioncube loader only supports PHP 5.3, 5.4, 5.5, 5.6 & 7.0
    http://blog.ioncube.com/2016/09/15/php-7-ioncube-loaders/
    
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    2016-12-02 18:03:16 URL:http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz [9125201/9125201] -> "ioncube_loaders_lin_x86-64.tar.gz" [1]
    ioncube/
    ioncube/ioncube_loader_lin_5.5_ts.so
    ioncube/ioncube_loader_lin_5.6_ts.so
    ioncube/ioncube_loader_lin_5.4_ts.so
    ioncube/ioncube_loader_lin_5.6.so
    ioncube/ioncube_loader_lin_5.1.so
    ioncube/ioncube_loader_lin_5.3.so
    ioncube/ioncube_loader_lin_5.0.so
    ioncube/ioncube_loader_lin_5.0_ts.so
    ioncube/ioncube_loader_lin_4.1.so
    ioncube/ioncube_loader_lin_5.1_ts.so
    ioncube/ioncube_loader_lin_4.4_ts.so
    ioncube/README.txt
    ioncube/ioncube_loader_lin_5.2_ts.so
    ioncube/ioncube_loader_lin_5.3_ts.so
    ioncube/USER-GUIDE.pdf
    ioncube/ioncube_loader_lin_4.3.so
    ioncube/ioncube_loader_lin_4.3_ts.so
    ioncube/ioncube_loader_lin_5.4.so
    ioncube/loader-wizard.php
    ioncube/ioncube_loader_lin_4.2.so
    ioncube/ioncube_loader_lin_4.4.so
    ioncube/ioncube_loader_lin_5.5.so
    ioncube/LICENSE.txt
    ioncube/USER-GUIDE.txt
    ioncube/ioncube_loader_lin_5.2.so
    
    gzip: stdin: decompression OK, trailing garbage ignored
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so: undefined symbol: zval_update_constant_inline_change
    cp: cannot stat ‘ioncube/ioncube_loader_lin_7.0.so’: No such file or directory
    total 72K
    drwxr-xr-x. 2 root root 4.0K Dec  2 18:03 .
    drwxr-xr-x. 4 root root 4.0K Sep 13 23:07 ..
    -rw-r--r--  1 root root  350 Dec  2 17:59 a_customphp.ini
    -rw-r--r--  1 root root  350 Jul  8 01:38 a_customphp.ini-bak_010816-053217
    -rw-r--r--  1 root root  350 Nov 11 06:37 a_customphp.ini-bak_021216-175704
    -rw-r--r--  1 root root  350 Oct 15 19:28 a_customphp.ini-bak_111116-063258
    -rw-r--r--  1 root root  351 Sep 19 06:17 a_customphp.ini-bak_151016-192511
    -rw-r--r--  1 root root  351 Aug 26 03:23 a_customphp.ini-bak_190916-061641
    -rw-r--r--  1 root root  373 Aug 19 13:23 a_customphp.ini-bak_260816-032337
    -rw-r--r--  1 root root   42 Dec  2 17:59 curlcainfo.ini
    -rw-r--r--  1 root root   59 Dec  2 18:03 geoip.ini
    -rw-r--r--  1 root root  253 Dec  2 18:02 igbinary.ini
    -rw-r--r--  1 root root   51 Dec  2 18:03 imagick.ini
    -rw-r--r--  1 root root   82 Dec  2 18:03 ioncube.ini
    -rw-r--r--  1 root root   23 Dec  2 18:02 mailparse.ini
    -rw-r--r--  1 root root  334 Dec  2 18:02 memcached.ini
    -rw-r--r--  1 root root   78 Dec  2 18:02 memcache.ini
    -rw-r--r--  1 root root  695 Dec  2 17:59 zendopcache.ini
    
    total 3.3M
    drwxr-xr-x 2 root root 4.0K Dec  2 18:03 .
    drwxr-xr-x 4 root root 4.0K Dec  2 18:01 ..
    -rwxr-xr-x 1 root root  82K Dec  2 18:03 geoip.so
    -rwxr-xr-x 1 root root 352K Dec  2 18:02 igbinary.so
    -rwxr-xr-x 1 root root 1.2M Dec  2 18:03 imagick.so
    -rwxr-xr-x 1 root root 227K Dec  2 18:02 mailparse.so
    -rwxr-xr-x 1 root root 382K Dec  2 18:02 memcached.so
    -rwxr-xr-x 1 root root 498K Dec  2 18:02 memcache.so
    -rwxr-xr-x 1 root root 386K Dec  2 18:01 opcache.a
    -rwxr-xr-x 1 root root 230K Dec  2 18:01 opcache.so
    
    ionCube Loader failed to install properly
    
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so: cannot open shared object file: No such file or directory
    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/zendopcache.ini
    
    
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so: cannot open shared object file: No such file or directory
     
  16. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    looks like corrupted or incomplete download for ioncube tarball try removing the directory for the download and running addons/ioncube.sh manually
    Code (Text):
    cd /svr-setup/ioncube/
    rm -rf /svr-setup/ioncube/
    
     
  17. pamamolf

    pamamolf Premium Member Premium Member

    3,831
    374
    83
    May 31, 2014
    Ratings:
    +718
    Local Time:
    11:24 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Don't know why i got that file with permissions 0644 :

    Code:
    /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ioncube.so
    and for sure i didn't do that....

    Other files there has 0755 permissions....
     
  18. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    and if you change permissions ?
     
  19. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:24 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    looks like the source ioncube tarball download is corrupt !

    Code (Text):
    tar xvzf ioncube_loaders_lin_x86-64.tar.gz
    ioncube/
    ioncube/ioncube_loader_lin_5.0.so
    ioncube/ioncube_loader_lin_4.3.so
    ioncube/ioncube_loader_lin_7.0_ts.so
    ioncube/ioncube_loader_lin_4.2.so
    ioncube/ioncube_loader_lin_5.6.so
    ioncube/ioncube_loader_lin_5.3.so
    ioncube/ioncube_loader_lin_5.5_ts.so
    ioncube/ioncube_loader_lin_5.4.so
    ioncube/loader-wizard.php
    ioncube/ioncube_loader_lin_4.3_ts.so
    ioncube/ioncube_loader_lin_5.5.so
    ioncube/LICENSE.txt
    ioncube/USER-GUIDE.pdf
    ioncube/ioncube_loader_lin_5.4_ts.so
    ioncube/ioncube_loader_lin_7.0.so
    ioncube/ioncube_loader_lin_5.3_ts.so
    ioncube/ioncube_loader_lin_4.4.so
    ioncube/ioncube_loader_lin_4.4_ts.so
    ioncube/ioncube_loader_lin_5.2.so
    ioncube/USER-GUIDE.txt
    ioncube/ioncube_loader_lin_4.1.so
    ioncube/README.txt
    ioncube/ioncube_loader_lin_5.1_ts.so
    ioncube/ioncube_loader_lin_5.0_ts.so
    ioncube/ioncube_loader_lin_5.1.so
    ioncube/ioncube_loader_lin_5.6_ts.so
    ioncube/ioncube_loader_lin_5.2_ts.so
    
    gzip: stdin: decompression OK, trailing garbage ignored
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now


    delete the download directory at /svr-setup/ioncube and re-run addons/ioncube.sh
    Code (Text):
    cd /svr-setup/ioncube
    rm -rf /svr-setup/ioncube
    
     
  20. pamamolf

    pamamolf Premium Member Premium Member

    3,831
    374
    83
    May 31, 2014
    Ratings:
    +718
    Local Time:
    11:24 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    It works great now :)

    The permissions was from a very old folder there and not from the new
    no-debug-non-zts-20151012.......my fault!!!

    Thank you