title: php exec() error...Anyone know what this means?
body: <p>I have just installed ffmpeg on ubuntu using this guide <a href="http://ubuntuforums.org/showthread.php?t=786095" rel="noreferrer">http://ubuntuforums.org/showthread.php?t=786095</a>, when I execute the ffmpeg command shown below, it <strong>works fine in terminal</strong> and it works when I execute the php file I am using <strong>through the terminal</strong> by using the 'php' command.</p>
  
  <p>When I try to execute the file using a browser, however, I get the following error in my apache error log. If anyone could give me guidance, I would really appreciate it.</p>
  
  <p><strong>ERROR</strong></p>
  
  <blockquote>
    <p>/usr/local/bin/ffmpeg:
    /opt/lampp/lib/libgcc_s.so.1: version
    `GCC_4.2.0' not found (required by
    /usr/lib/i386-linux-gnu/libstdc++.so.6)</p>
  </blockquote>
  
  <p><strong>PHP code</strong></p>
  
  <blockquote>
    <p>define('FFMPEG_LIBRARY',
    '/usr/local/bin/ffmpeg');</p>
    
    <p>$command =
    shell_exec('/usr/local/bin/ffmpeg -i
    /home/geoff/Desktop/cave.wmv -acodec
    libfaac -aq 100 -vcodec libx264
    -preset slow -crf 22 -threads 0 /home/geoff/Desktop/newvideo.flv');</p>
  </blockquote>