Welcome to Centmin Mod Community
Register Now

Beta Branch part 2 revise php-fpm default buffers in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 13, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    part 2 revise php-fpm default buffers in 123.09beta01

    Further revision from Beta Branch - revise php-fpm default buffers in 123.09beta01 to new defaults for php-fpm buffer sizes to prevent potential 502 gateway errors if php header size is too large

    Code (Text):
    fastcgi_buffer_size 32k;
    fastcgi_buffers 512 32k;


    for fresh new 123.09beta01 installs. Existing installs can update the settings in /usr/local/nginx/conf/php.conf and by running cmupdate to update local 123.09beta01 code at /usr/local/src/centminmod

    Continue reading...

    123.09beta01 branch
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,831
    374
    83
    May 31, 2014
    Ratings:
    +718
    Local Time:
    11:44 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    By running cmupdate and then run centmin i didn't get that update and i did it manually :)

    I had:
    Code:
    fastcgi_buffer_size 16k;
    fastcgi_buffers 512 16k;
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yes /usr/local/nginx/conf/php.conf is a manual update, cmupdate is for updating it's equivalent at /usr/local/src/centminmod/config/nginx/php.conf which is the version that gets copied over when you choose to overwrite php.conf on centmin.sh menu option 5 based PHP-FPM upgrades.