title: Run command from PHP script: sh: 1: screen: not found
body: <p>I have problem with script that running screen session.</p>
  
  <pre><code>&lt;?php  exec("screen -m -d ffmpeg2theora -v 3 /path/to/video.mp4");  ?&gt;
  </code></pre>
  
  <p>and see this on logs:</p>
  
  <pre><code>Wed Oct 17 16:17:39 2012] [error] [client 83.5.x.x] sh: 1: screen: not found, referer: http://xxxxxx.xx
  </code></pre>
  
  <p>It's stop working on some update (apache/php/suphp?), before that was working like charm
  Any idea's what's happend, how configure suPhp/Apache?</p>