Jump to content

Script Timeout Coming from Somewhere?


Ahhhk

Recommended Posts

Im having a problem with a PHP 4.4.4 script on Apache 1.3.x

It's basically a PHP upload, that when the upload is complete it converts the file (video) via an exec() call to mencoder. After the return from the conversion, it reposts to itself and checks if the file exists and says it was sucessful (or not).

But, during the conversion of a large file (50-100 megs +), is when it freaks out and actually sends the upload.php file (as in prompts to DL) instead of parsing it when it reposts to itself. Smaller files (< 50 megs) work perfectly.

Now, this to me seems like a timeout issue. But, I have the PHP max exec time site plenty high as well as the Apache timeout and the max upload to well over 100 megs.

Any ideas anyone?

On a related note, during a PHP exec(), does the PHP execution time apply or would it then be the Apache timeout?

And, if it is the Apache timeout at that point, does the PHP max execution time reset or continue counting as well?

Any help would be appreciated!

Thanks.

Ahhhk!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.