Welcome to Centmin Mod Community
Become a Member

Beta Branch auto check and populate multiple php-fpm pool files for existing installs

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 27, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    8:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    auto check and populate multiple php-fpm pool files for existing installs
    https://community.centminmod.com/posts/15829/


    Continue reading...

    123.08beta03 branch

    * 123.08beta03 branch is the merging of the 3 branches - .08 beta 02 + 123.08lua + 123.08livestats so the new beta has both Nginx Lua + LuaJIT support + new Nginx vhost traffic statistics
     
  2. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    6:27 PM
    Mainline
    10.2
    What if I deleted all other extra pools? Will not conflict?
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    8:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Disabling Multiple PHP-FPM Pools Globally or Individually



    If you want delete extra pools in /usr/local/nginx/conf/phpfpmd/* they will auto be copied back with this commit. To disable multiple pools, just edit /usr/local/etc/php-fpm.conf and comment out include line below

    from
    Code:
    include=/usr/local/nginx/conf/phpfpmd/*.conf
    
    to
    Code:
    ;include=/usr/local/nginx/conf/phpfpmd/*.conf
    
    or if you want to disable a pool in /usr/local/nginx/conf/phpfpmd/*, rename the extension for the pool filename from .conf to something else as the above include tries to match on *.conf.

    added info to Beta Branch - Centmin Mod .08 beta03+ Multiple PHP-FPM pools support added | Centmin Mod Community
     
    Last edited: Jun 29, 2015
  4. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    6:27 PM
    Mainline
    10.2
    To comment out, should be:
    ;include=/usr/local/nginx/conf/phpfpmd/*.conf

    Right?
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    8:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    doh yup.. too much bash shell scripting LOL