title: Run PHP shell_exec() like root user
body: <p>I building one PHP application where I create command line functionality for Linux debian Jessie. All works fne but I need to be able use some commands like root user.</p>
  
  <p>Is there a way to use shell_exec() or similar command to access like root user via PHP?</p>
  
  <p>Idea of this command line is to people who have access to that server can handle with it over internet from any place or device.</p>
  
  <p>Here is image of console:</p>
  
  <p><a href="https://i.stack.imgur.com/nBkSJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nBkSJ.png" alt="enter image description here"></a></p>