Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
Production Settings
To ensure a secure installation of TYPO3 on a production server, the following settings need to be set:
-
Admin Tools > Settings > Configuration Presets The "Live" preset has to be chosen to make sure no debug output is displayed. When using environment specific configurations, the recommended way is to specifically set the values for error/debugging configuration values instead of presets, like:
config/system/additional.php | typo3conf/system/additional.php$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = '0'; $GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = '0'; $GLOBALS['TYPO3_CONF_VARS']['BE']['debug'] = '0';Copied!These can be set for example through the Configuring environments.
HTTPSshould be used on production servers and$GLOBALSshould be set to['TYPO3_ CONF_ VARS'] ['BE'] ['lock SSL'] true.- Enforce HSTS (Strict-Transport-Security header) in the web servers configuration.
- The
TYPO3_environment variable should be set to a main context ofCONTEXT Production(can be verified on the top right in the TYPO3 backend Application Information). It should be used to select the appropriatebase variantfor the target system in the Site Configuration. - Configure the TYPO3 logging framework to log messages of high severity including and above WARNING or ERROR
and continue to rotate log files stored in
var/.log - Verify the file permissions are correct on the live system.