Welcome to Centmin Mod Community
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

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    8:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    1:33 PM
    Nginx-1.26.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

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    8:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no that will mean it will NEVER ask to overwrite php-fpm.conf
     
  4. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    6:33 PM
    Mainline
    10.2
    Maybe related but maybe also remove the question to use ZendOpcache if we have set ZOPCACHEDFT='y' on config?