[TYPO3-dam] max upload
georg kuehnberger
georg at georg.org
Fri Feb 1 18:30:40 CET 2008
ben van 't ende [netcreators] wrote:
> georg kuehnberger wrote:
>> ben van 't ende [netcreators] wrote:
>>> Hey Guys,
>>>
>>> Seems like the most trivial question ever, but I just couldn't find
>>> the right
>>> answer. The max upload is 10mB in DAM. All settings mentioned
>>> everywhere ;-)
>>> does not seem to increase that value. Is it me or is it hardcoded in DAM?
>>>
>>> gRTz
>>>
>>> ben
>> ben,
>> out if memory only, I'd check out the TCA, see also:
>>
>> typo3conf/ext/dam/tca_media_field.php
>> ---
>> $GLOBALS['T3_VAR']['ext']['dam']['TCA']['media_config'] = 'max_size' =>
>> 'max_size' => '10000',
>> $GLOBALS['T3_VAR']['ext']['dam']['TCA']['image_config'] = 'max_size' =>
>> 'max_size' => '1000',
>
> Hi Georg,
>
> This does not have any influence. We found out that:
>
> The max upload size for a file is determined by:
> These two values in php.ini: (in this example 32MB)
>
> post_max_size = 32M
> upload_max_filesize = 32M
>
> and this TYPO3-configuration
>
> $TYPO3_CONF_VARS['BE']['maxFileSize'] = '20480'; (in this example 20MB)
>
> and so:
>
> $TYPO3_CONF_VARS['BE']['maxFileSize'] <= post_max_size
> $TYPO3_CONF_VARS['BE']['maxFileSize'] <= upload_max_filesize
>
> php.ini takes precedence!!
> gRTz
> ben
Hija Ben,
Sorry for the misleading shot into the wrong direction;
I did'nt think into the depth of webserver config, or the basic TYPO3
Configuration, as you just mentioned the dam part.
Anyway great you solved it; btw. as it happened to us once: some apache
config also restricts post max size, which then overrules the php.ini
values ;-(
ciao georg
More information about the TYPO3-project-dam
mailing list