0

I am trying to use shell_exec command in a php file.

shell_exec(date) works fine, but shell_exec(sudo date) is not working.

Is there any limitation with sudo command in shell_exec?

Schemetrical
  • 5,506
  • 2
  • 26
  • 43
Rkumar
  • 127
  • 2
  • 3
  • 10

0 Answers0