[TYPO3-dam] max upload

ben van 't ende [netcreators] ben at netcreators.com
Fri Feb 1 15:56:37 CET 2008


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
-- 
netcreators :: creation and innovation
www.netcreators.com -  www.TYPO3.nl

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-project-dam mailing list