Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Maximum execution time of x seconds exceeded

Featured Replies

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 ;-)

  • Author

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.

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.