PHP uploads time out if file >4mb

From: KevinUK (google_at_kevinuk.co.uk)
Date: 02/12/05


Date: 12 Feb 2005 08:14:44 -0800

Hi, I have a windows 2003 server using IIS version 6.0.

I have a PHP website where I can upload files fine if they are
under 4mb but any file over that and I get this error:

CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers.

I have set the php.ini correctly, here are the key figures:

file_uploads - on
upload_max_filesize - 100mb
max_input_time - 3600
memory_limit - not listed in my phpmyinfo but in the php.ini it is set
to 10mb
max_execution_time - 3600
post_max_size - 100mb

I have tried in both Internet Explorer and FireFox.

Does anyone know why I can upload files through FTP fine and download
through PHP and FTP fine but when I go to upload with PHP it times out
after 4mb?

Thanks, Kevin



Relevant Pages