|
Posted by Piotr Siudak on 11/30/07 10:41
howa pisze:
> On 11月30日, 上午9時19分, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> howa wrote:
>>> Suppose the file is stored in "upload_tmp_dir ", so why I need to
>>> increase the memory limit?
>>> If I want to upload 100 MB, how large should I set?
>>> Thanks.
>> You shouldn't have to increase the memory limit, but you'll probably
>> have to increase file upload size (in your webserver or html).
>>
>
> In the doc: http://us3.php.net/manual/en/features.file-upload.common-pitfalls.php
>
> it said: if a memory limit is enabled, a larger memory_limit may be
> needed. Make sure you set memory_limit large enough.
>
> this is quite confusing, as it doesn't said how much you need to set
> the memory limit
depends on your config
for example
if you have "always poputale raw post data" enabled you need enough to
fit "raw post data" to one of the variables.
--
Piotr Siudak
Navigation:
[Reply to this message]
|