Jump to content
The Uniform Server Community
smonster

Maximum execution time of x seconds exceeded

Recommended Posts

Ladies and Gentlemen!

 

I wrote an upload script with PHP that should be able to upload files with filesize up to 50MB (or more ...). Here are some lines from php.ini:

max_execution_time = 3600

max_input_time = 60

memory_limit = 64M

post_max_size = 50M

upload_max_filesize = 50M

 

When i upload a file with a filesize of about 3MB i get this error after 3-4 minutes:

Fatal error: Maximum execution time of 3600 seconds exceeded in W:\www\upload.php on line x

 

I don't know whats wrong. 3600 seconds should be one hour, right? Why do i get this error after 3 minutes?

Can anyone help me?

 

Don't know if its helpful:

Server OS is: Win 2000 Server

Uniform Server Version: 3.5

Do you need more information? Please left me know.

 

Thanks,

Simon

 

PS: its a fact, that the filesize should be up to 50 MB. I know that its easier with FTP ;-)

Share this post


Link to post
Share on other sites

The max_input_time should be the same like the max_execution_time, right?

 

I've set the max_input_time to 3600 seconds and now the uploads are possible.

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...