[PHP-DEV] PHP 4.0 Bug #7679 Updated: multipart/form-data (upload) form method broken From: sniper <email protected>
Date: 12/15/00

ID: 7679
Updated by: sniper
Reported By: jamie <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: HTTP related
Assigned To:
Comments:

No feedback. Works for me just fine (latest CVS and 4.0.4RC6)

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2000-11-12 11:55:36] jmoore <email protected>
---feedback from user -----------
> File uploads of any significant size don't work (script dies
> after a little
> while with no error reported by script). Bug report at:
>
> http://bugs.php.net/bugs.php?id=7679
>
> I have now tested Apache 1.3.14 + php4.0.2 and uploading works fine.
> Does not work with Apache 1.3.12 + php4.0.3pl1 or 1.3.14 + php4.0.3pl1
>
> My httpd.conf includes:
>
> php_flag file_uploads on
> php_value post_max_size 99999999
> php_value upload_max_filesize 99999999
>
> -- Jamie
-------------------------------------------------
try making memory_limit larger too.

James

---------------------------------------------------------------------------

[2000-11-07 14:40:47] jamie <email protected>
Problem occurs with Apache 1.3.14 + Mod_SSL 2.7.1 + mod_perl 1.24_01 + mod_php 4.0.3pl1

Problem occurs with Apache 1.3.12 + mod_ssl 2.6.5 + mod_perl 1.24_01 + mod_php 4.03pl1

Problem does not occur with Apache 1.3.12 + mod_ssl 2.6.5 + mod_perl 1.24_01 + mod_php 4.02

History:

I recently went from Apache 1.3.12 + PHP 4.0.2 to Apache 1.3.14 + 4.0.3pl1.

After upgrading, my web upload forms were broken. The script would die after less than 15 seconds or so when uploading a big file, and a new page would not be loaded (e.g. no error was reported to the web client, it just stopped and reloaded the old form). Small files would sometimes still work. Apache reported:

[Fri Nov 3 11:17:24 2000] [error] [client 192.168.1.3] Invalid method in request -----------------------------7d03b626abc

I initially assumed this was an Apache 1.3.14 error, so I unhappily rebuilt Apache 1.3.12 with PHP 4.0.3pl1. However, after this, the problem still occurred.

So I rebuilt again with my previous configuration (4.0.2) and everything worked again. So I can only assume that there is a problem with the new PHP version. The only thing I've yet to try (for lack of time) is PHP 4.0.2 on Apache 1.3.14 which -- if it works -- would confirm that the problem is with PHP rather than Apache.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7679

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>