Skip to main content

can't enable shell_exec for script

Comments

2 comments

  • ES - George
    Are you using PHP-FPM? If so, shell_exec is disabled by default. You can read more about that here:
    0
  • cPanelLauren
    My assumption would be as @ES - George is suggesting if you're using php-fpm it has its own disabled_functions. If you're not you need to ensure that shell_exec is not set in disabled_functions in the MultiPHP INI editor for the version of PHP you're using (checking it for this requires using the editor mode and while you did mention you checked them I'm just making sure) Thanks!
    0

Please sign in to leave a comment.