Date: 11/10/00
- Next message: lawe <email protected>: "[PHP-DEV] PHP 4.0 Bug #7737: Access Violation at 03F74CE6"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] .cvsignore generated files"
- Next in thread: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Reply: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is it really that necessary to have the two of them? Can't there be a
comment next to post_max_size noting that this effects file uploads too?
Andi
>Date: Fri, 10 Nov 2000 00:33:15 -0600
>From: Micah Anderson <micah <email protected>>
>To: php-general <email protected>
>Reply-To: micah <email protected>
>User-Agent: Mutt/1.2i
>Subject: [PHP] upload_max_size vs. post_max_size
>
>People use POST on a php page that I maintain - sometimes up to 100meg files
>(and boy does that take a while)... I previously had to set upload_max_size
>in php.ini for it to work correctly, but I recently upgraded to the 4.0.3pl1
>and quickly the complaints came in - uploads larger than 8MB weren't going
>through.
>
>I checked my upload_max_size, it was still set. I did some searching on
>www.php3.com and found someone saying:
>
>On my system (Solaris 7/SPARC, Apache 1.3.9), in order to be able to
> upload files larger than 8 MB, you need to increase the
> memory_limit
> in php3.ini to a value larger than 8 MB.
>For example, if MAX_FILE_SIZE is set to 209715199 in your form and
> upload_max_filesize is set to 209715200 in php3.ini, the largest
> file that can be uploaded is 7996 kilobytes or about 8 MB.
> Increasing the memory_limit (I increased mine to 100 MB) allows me
> to upload files that are up to 100 MB in size.
>
>So I changed that - but that didn't work. Then I took a look at my PHP core
>and found the NEW variable: post_max_size and it was set to 8MB.
>
>I changed that to 100mb and now it works. But there is NO documentation
>available ANYWHERE about what post_max_size is, or how it is different from
>upload_max_size, and should I have memory_limit set higher too? Should I
>just have post_max_size set? Or should I have both, or all three?
>
>What is the difference? Where is the documentation?!
>
>Micah
>
>
>--
>Micah Anderson
>Collective Technologies
>www.colltech.com
>
>"To be and not to do is not to be at all"
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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>
- Next message: lawe <email protected>: "[PHP-DEV] PHP 4.0 Bug #7737: Access Violation at 03F74CE6"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] .cvsignore generated files"
- Next in thread: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Reply: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

