PHP 4.0 Bug #7679: multipart/form-data (upload) form method broken

From: Date: Tue, 07 Nov 2000 13:40:47 +0000
Subject: PHP 4.0 Bug #7679: multipart/form-data (upload) form method broken
Groups: php.dev 
Request: Send a blank email to php-dev+get-37347@lists.php.net to get a copy of this message
From: jamie@trewtech.copm Operating system: Red Hat Linux 6.2 PHP version: 4.0.3pl1 PHP Bug Type: HTTP related Bug description: multipart/form-data (upload) form method broken 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. -- Edit Bug report at: http://bugs.php.net/?id=7679&edit=1

« previous php.dev (#37347) next »