Learn about Centmin Mod LEMP Stack today
Register Now

PHP-FPM How to install "igbinary" on PHP 5.6?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Feb 10, 2016.

  1. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
    I have this config:
    But I can't get Igbinary to be install.
    What can I do?

    My ini files:
    [​IMG]

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    recompiling php via centmin.sh menu option 5 should do it

    To troubleshoot, you need to check the the php upgrade log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Also post output for the following

    Code (Text):
    php -v
    php --ini
    php --ri 'igbinary'
    php -m
    
     
  3. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
     
  4. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
  5. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    did you previously have it disabled as in ?
    Code:
    IGBINARY_INSTALL='n'
    minor php versions upgrades only will auto recompile of php extensions previously installed and detected. If you previously had IGBINARY_INSTALL='n' and then switch to php 5.6.18 it won't reinstall igbinary
    so right now best way is with IGBINARY_INSTALL='y', downgrade to a major php version 5.5.32 and then upgrade to 5.6.18 again
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
    Yes Eva :)
     
  8. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
  9. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Need the new php upgrade log
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ok try this
    Code:
    touch /etc/centminmod/php.d/igbinary.ini
    then re-run php upgrade via centmin.sh menu option 5 with AUTODETECPHP_OVERRIDE=y
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    also just updated 123.09beta01 with further fixes for AUTODETECPHP_OVERRIDE=y without need to create igbinary.ini again
     
  12. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    1:56 PM
    Mainline
    10.2
    I will try this again when I need to switch back to PHP 5.6 (y).
    Thanks Eva!