Maximale Größe von Datei-Uploads

Note to self:
Über das Install-Tool ist das bei Typo3 3.x nicht zu machen.
Deshalb hier kurz das Kochrezept.

Die maximale Größe für Datei-Uploads in Typo3 (3.8.1) ändern (hier: auf 50MB):

$PHP_CONFIG_DIR/php.ini
file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

Besonders post_max_size vergißt und/oder übersieht man gerne.

$TYPO3_INSTALL_DIR/typo3conf/localconf.php
$typo_db_extTableDef_script = "extTables.php";
$TYPO3_CONF_VARS["BE"]["maxFileSize"] = 50*1024;

$TYPO3_INSTALL_DIR/typo3conf/extTables.php
$GLOBALS['TCA']['tt_content']['columns']['media']['config']['max_size'] = 50*1024;
$GLOBALS['TCA']['tt_content']['columns']['multimedia']['config']['max_size'] = 50*1024;

Bei mir geht’s und auch bei allen anderen Typo3 3.x Benutzern, die obiges eintragen.