Welcome to Centmin Mod Community
Register Now

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

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    2:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. RoldanLT

    RoldanLT Well-Known Member

    3,978
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    12:53 AM
    1.11
    10.2
    What if I deleted all other extra pools? Will not conflict?
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    2:53 AM
    Nginx 1.13.x
    MariaDB 5.5

    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. RoldanLT

    RoldanLT Well-Known Member

    3,978
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    12:53 AM
    1.11
    10.2
    To comment out, should be:
    ;include=/usr/local/nginx/conf/phpfpmd/*.conf

    Right?
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    2:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    doh yup.. too much bash shell scripting LOL