Want to subscribe to topics you're interested in?
Become a Member

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,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    9:29 PM
    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

    55,382
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    11:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    55,382
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    11:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+