Page 1 of 1

PHP Upload Timeout

Posted: Sat Nov 18, 2006 5:45 pm
by waradmin
This is probably a simple question but here it goes:

I have a file upload script I am working on that has a file size upload limit of 50MB.

When it times out it will display: "you did not pick a file to upload"

I tried to change the settings in my php.ini file but it continues to timeout on uploads around 10MB and higher.

Here are my php.ini settings:

Code: Select all

; Default timeout for socket based streams (seconds)
default_socket_timeout = 60


;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:\apache2triad\temp

; Maximum allowed size for uploaded files.
upload_max_filesize = 50M


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 3000
; Maximum execution time of each script, in seconds
max_input_time = 600
; Maximum amount of time each script may spend parsing request data
memory_limit = 8M
; Maximum amount of memory a script may consume (8MB)
Am I missing something that is causing this to keep timing out?

Posted: Sun Nov 19, 2006 1:10 am
by feyd
Can you post your code that's telling you this?