nekluh Posted August 25, 2008 Share Posted August 25, 2008 I'm making a exec() call, that takes too long to execute. The page just dies. I have two following exec commands, where the first is a ffmpeg-call, like this: exec("ffmpeg ..."); exec("other call"); The script only dies when processing a big video. I can see that the ffmpeg call is finished after about 30 seconds, by looking at the output file, but the php never continues to the "other call". I've set these: set_time_limit(240); // 4 minutes ini_set("max_execution_time", 240); // 4 minutes Is there a time limit for the exec()-command? Or do you have other ideas on what's wrong? Link to comment https://forums.phpfreaks.com/topic/121276-exec-time-out/ Share on other sites More sharing options...
nekluh Posted August 26, 2008 Author Share Posted August 26, 2008 no clues? Link to comment https://forums.phpfreaks.com/topic/121276-exec-time-out/#findComment-625772 Share on other sites More sharing options...
alin19 Posted August 26, 2008 Share Posted August 26, 2008 set_time_limit(240); // 4 minutes ini_set("max_execution_time", 240); // 4 minutes i think this is the problem but there are more than one file that contains this, see that you have modified in the right one Link to comment https://forums.phpfreaks.com/topic/121276-exec-time-out/#findComment-625802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.