Welcome to Centmin Mod Community
Register Now

PHP-FPM php-fpm.conf, Why do we need to support this outdated extensions?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, May 4, 2018.

  1. rdan

    rdan Well-Known Member

    5,426
    1,389
    113
    May 25, 2014
    Ratings:
    +2,172
    Local Time:
    5:00 AM
    Mainline
    10.2
    Config:
    centminmod/centminmod
    Code:
    security.limit_extensions = .php .php3 .php4 .php5
    I changed mine to only:
    Code:
    security.limit_extensions = .php
    Seems to work fine.

     
  2. eva2000

    eva2000 Administrator Staff Member

    50,891
    11,791
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,246
    Local Time:
    7:00 AM
    Nginx 1.25.x
    MariaDB 10.x
    Really a 'just in case' thing :)

    But yes probably best to limit it to .php in new 123.09beta01 installs
     
  3. eva2000

    eva2000 Administrator Staff Member

    50,891
    11,791
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,246
    Local Time:
    7:00 AM
    Nginx 1.25.x
    MariaDB 10.x