I can't execute a linux command using the exec() function in a php script, please view the following test code:
<?
exec("ffmpeg -i sample.avi -qscale 15 sample.flv");
?>
on the command prompt the command executes perfectly like this:
ffmpeg -i sample.avi -qscale 15 sample.flv
which works.
The directory has the chmod 777 permission
How can I get it to work, please help thanks in advance.
<?
exec("ffmpeg -i sample.avi -qscale 15 sample.flv");
?>
on the command prompt the command executes perfectly like this:
ffmpeg -i sample.avi -qscale 15 sample.flv
which works.
The directory has the chmod 777 permission
How can I get it to work, please help thanks in advance.