ID: 39766 Updated by: [EMAIL PROTECTED] Reported By: deepak dot vasudevan at lavanyadeepak dot tk Status: Feedback Bug Type: CGI related Operating System: Windows 2003/IIS 6.0 PHP Version: 4.4.4 New Comment:
PHP does not know if it is in the same network relative to the client or not. And it doesn't depend on this in any way. So please make sure there are no firewalls between you and the web-server, try another browser, make sure PHP actually receives all the data during max_input_time etc. etc. I'm definitely unable to reproduce anything like that. Previous Comments: ------------------------------------------------------------------------ [2006-12-08 14:01:02] deepak dot vasudevan at inbox dot com I would like to know how to configure and ensure that PHP keeps buffering the data as it comes instead of waiting for the full file to come into the server. This would avoid CGI Timeout. ------------------------------------------------------------------------ [2006-12-07 19:57:07] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2006-12-07 15:34:19] deepak dot vasudevan at lavanyadeepak dot tk Description: ------------ I have configured PHP with IIS 6.0 in CGI flavor. I have also optimized the following values in PHP.INI to facilitate huge uploads to the tune of 200 MB: (*) Memory Limit (*) Max Input Time (*) Max Script Time The file upload passes fine if the client browser is connected to the web server in a high speed network. It works like a charm since it does not spike the CPU too. However, when I move the webserver to a different network and the access the server, because of network delays, even though Network Packet Analyzers show incoming data to the webserver running PHP, PHP does not do anything after 70% of the filesize. It sits silently and then after Max Input Time/Max script Time, gets recycled by IIS with the error message "CGI Misbehaved". All other settings are identical. Expected result: ---------------- PHP should behave identically in all environments. Slow network and CGI flavor seems to disturb the buffering strategy. Actual result: -------------- The php process gets killed by IIS with CGI Error "CGI application misbehaved ...". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39766&edit=1