#14118 [Com]: Upload file more than 1 Mb doesn´t work
| From: | anjali at students dot iiit dot net | Date: | Wed, 27 Aug 2003 07:08:26 +0000 |
| Subject: | #14118 [Com]: Upload file more than 1 Mb doesn´t work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46743@lists.php.net to get a copy of this message | ||
ID: 14118
Comment by: anjali at students dot iiit dot net
Reported By: mlara at gcintl dot com
Status: Closed
Bug Type: Unknown/Other Function
Operating System: linux redhat 7.1
PHP Version: 4.0.4pl1
New Comment:
I am also facing the upload problem. The clients access my web server
directly (not thru a proxy server) so I don't have to change the squid
configurations (am I right?) and I tried placing the hidden variable
'max_file_size'. Even this didn't work? I am using PHP 4.2. And this
error is not browser specific and shows up in all the browsers. Is the
problem with PHP?
Previous Comments:
------------------------------------------------------------------------
[2003-06-20 06:12:17] s_chhatre at yahoo dot com
Yess...
changing the setting request_body_max_size to whatever size required
works fine and upload the file of whatever size required.
-Shrirang S. Chhatre.
------------------------------------------------------------------------
[2003-03-11 13:21:26] jgomes at ulbra-to dot br
Hi all,
I had the same problem using multiple platforms (PHP, ASP, .NET); so I
discovered that the problem is the Squid (Proxy) configuration. It has
a tag (request_body_max_size) that defines the maximum size of a HTTP
request body (the data area). So if you try to upload a file whose size
overlaps the limit, you'll get an error generated by Squid: "The page
cannot be found" or "The page coudn't be processed" and so on.
Thanks.
God bless!
[AJ(ack)]
------------------------------------------------------------------------
[2002-10-01 11:08:05] jbyu at csie dot nctu dot edu dot tw
I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?
------------------------------------------------------------------------
[2001-11-21 14:14:19] mlara at gcintl dot com
Thanks
I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .
Thanks for all, I´m sorry
Mauricio
------------------------------------------------------------------------
[2001-11-21 12:42:44] sniper@php.net
Please try with PHP 4.1.0RC3:
http://download.php.net/~zeev/php-4.1.0RC3.tar.gz
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118
--
Edit this bug report at http://bugs.php.net/?id=14118&edit=1