This is the problem caused due to PHP safe_mode restrictions to execute linux commands.
If safe mode is on we can not run linux commands by exec() PHP function.
Try safe mode Off when you want to execute linux tools with PHP….
Disable dangerous function from executing to exec().. that will cause application non functional 😦
# php mencoder.php
sh: /mencoder: No such file or directory # cat mencoder.php <?php exec("mencoder -ovc help"); ?>
# mencoder -ovc help