Join the community today
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

    36,471
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    10:14 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 Premium Member Premium Member

    4,316
    1,047
    113
    May 25, 2014
    Ratings:
    +1,509
    Local Time:
    8:14 AM
    Mainline
    10.2
    What if I deleted all other extra pools? Will not conflict?
     
  3. eva2000

    eva2000 Administrator Staff Member

    36,471
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    10:14 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x

    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 Premium Member Premium Member

    4,316
    1,047
    113
    May 25, 2014
    Ratings:
    +1,509
    Local Time:
    8:14 AM
    Mainline
    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

    36,471
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    10:14 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    doh yup.. too much bash shell scripting LOL
     
..