Learn about Centmin Mod LEMP Stack today
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,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    11:08 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

    53,595
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    1:08 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

    53,595
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    1:08 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+