Get the most out of your Centmin Mod LEMP stack
Become a Member

CentOS 7 Beta Branch re-enable PHP shell_exec restrictions in disable_functions for php.conf includes for .08 beta

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 26, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    53,250
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:17 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    re-enable PHP shell_exec restrictions in disable_functions for php.conf includes for .08 beta

    Continue reading...

     
  2. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    11:17 AM
    latest
    10
    Trying to find the shell_exec restriction in php.ini ( phpedit ) - I would like to enable shell_exec but can't find where...
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,250
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:17 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    official site at centminmod.com/phpfpm.html#security
     
  4. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    11:17 AM
    latest
    10
    awesome! Do you forsee any reason to enable any of these functions in php.ini - would any of these ( being disabled ) cause issue with Centminmod or WordPress functionality?

     
  5. eva2000

    eva2000 Administrator Staff Member

    53,250
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    1:17 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    trial and error, if you disable those functions and scripts use them, they're break but you can check php-fpm error log and it will alert you to a disabled function being used