smonster Posted June 8, 2008 Report Share Posted June 8, 2008 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 = 3600max_input_time = 60memory_limit = 64Mpost_max_size = 50Mupload_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 ServerUniform Server Version: 3.5Do 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 ;-) Quote Link to comment Share on other sites More sharing options...
smonster Posted June 9, 2008 Author Report Share Posted June 9, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.