Join the community today
Become a Member

PHP-FPM After PHP upgrade/recompile

Discussion in 'Centmin Mod Insights' started by Sunka, Aug 3, 2016.

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    3:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    @eva2000, just one to be sure should we reinstall extensions after upgrading/recompiling PHP

    When I upgraded PHP, should I reinstall via centminmod menu:
    redis php extension
    imagicK php extension

    Also, after upgrading Redis/imagemagick should we reinstall redis php/imagicK php

    or in both cases we do not need to reinstall?

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:02 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see php upgrade outline at PHP-FPM - CentminMod.com LEMP Nginx web stack for CentOS
    recompile of php extensions is skipped for minor php upgrades as not really required unless you have issues with php extension. Major php upgrades usually do require php extensions to recompile and that is automatically done by centmin.sh menu option 5 as it can auto detect which php extensions you had previously installed prior to php major version upgrade, and then auto recompile those specific php extensions.

    where
    • minor php upgrades i.e. 5.6.23 to 5.6.24
    • major php upgrades i.e. 5.5.38 to 5.6.24
     
    Last edited: Aug 4, 2016
  3. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    3:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    So after upgrading php from 7.0.x to 7.0.x I do not need to reinstall.
    After upgrading from 7.0.x to 7.x.x I have to reinstal redis php and imagicK php, but not need to because centminmod will do it by self during php upgrade?

    What about this one
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:02 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup
    yes for redis if you want or have issues. For imagemagick definite yes