Jump to content

exec time out


nekluh

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.