DrIdiot Posted October 1, 2008 Share Posted October 1, 2008 Hi, I'm running PHP on my computer (Linux) and for some reason whenever I use the exec() or shell_exec() command to exceute a script that in any way writes to the drive, it fails. For example, exec("touch test"); doesn't do anything What I'm trying to do is convert a .flv file to a .mpeg file using ffmpeg. So I have a command: shell_exec("ffmpeg \stuff\"); that isn't executing. Also, world has write permissions on the directory (that the file output is in, not that the script is in) Does anyone know why? Thanks, -Harrison Link to comment https://forums.phpfreaks.com/topic/126674-solved-php-shell_exec-command/ Share on other sites More sharing options...
DrIdiot Posted October 1, 2008 Author Share Posted October 1, 2008 yeah actually it was working, im just a dumbass and misnamed something Link to comment https://forums.phpfreaks.com/topic/126674-solved-php-shell_exec-command/#findComment-655123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.