TYPO3 Exception 1232985915¶
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
The APCu backend cannot be used because apcu is disabled on CLI¶
[ TYPO3\CMS\Core\Cache\Exception ] #1232985915: The APCu backend cannot be used because apcu is disabled on CLI. thrown in file typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php in line 84
This error occurs if TYPO3 is executed in command line context. The
reason is, that
TYPO3\\CMS\\Core\\Cache\\Backend\\ApcuBackend as caching backend,
which works fine if called using an HTTP-context (e.g. via Apache or
nginx) but does not if invoked via CLI (command line interface).
- Change Cache Backend: Goto TYPO3 Install Tool –> Configuration Presets and
choose Database cache backend (or: something different then
apcu) and save.
- Adjust PHP CLI configuration to fix this behavior: modify configuration file
/etc/php/7.1/cli/conf.d/20-apcu.ini(as an example on Ubuntu 17.10) and add new setting