Want to subscribe to topics you're interested in?
Become a Member

PHP-FPM After PHP upgrade/recompile

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

  1. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    8:07 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    @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

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
    • Informative Informative x 1
  3. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    8:07 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    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

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    4:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup
    yes for redis if you want or have issues. For imagemagick definite yes
     
    • Winner Winner x 1