title: php exec passthru and tty prompts
body: <p>I often use PHP to script more complex maintenance tasks. Usually run in CLI, or as cron tasks. I've had decent success with having prompts passed through, and functional with exec and pass-thru.</p>
  
  <p>I never really thought about having web access to these scripts, until something in the documentation made me think it may be possible/useful.</p>
  
  <p>However, almost all of the documentation mentions the output of commands, slim to none information about [CLI] prompts.</p>
  
  <p>It's probably a bad idea in the first place because it would probably inadvertently boost privileges of web server user (www-data), right?</p>