Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch add PHP_OVERWRITECONF variable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 1, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    58,918
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    5:34 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add PHP_OVERWRITECONF variable


    PHP_OVERWRITECONF='y' default enabled - which controls whether to show the php upgrade prompt to overwrite php-fpm.conf which is the normal routine method. Setting to PHP_OVERWRITECONF='n' in persistent config file at /etc/centminmod/custom_config.inc will override the default behaviour to disable the prompt to overwrite php-fpm.conf on centmin.sh menu option 5 php upgrade/recompiles

    Continue reading...

    123.09beta01 branch
     
    Last edited: Apr 1, 2016
  2. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    10:34 PM
    Nginx-1.29.x
    MariaDB 10.6.x
    Just to confirm setting this to PHP_OVERWRITECONF='n' it will always ask if i want to overwrite my php conf file?
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,918
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    5:34 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    no that will mean it will NEVER ask to overwrite php-fpm.conf
     
  4. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    3:34 AM
    Mainline
    10.2
    Maybe related but maybe also remove the question to use ZendOpcache if we have set ZOPCACHEDFT='y' on config?