0

in my typo3 project we use a company internal web space. Currently an error message appears as shown in the picture.

enter image description here

On this APCu cannot be installed in the PHP configuration due to internal defaults.

How can I modify my typo3 instance so that I can do without APCu?

lrefopam
  • 511
  • 1
  • 5
  • 22
  • In the installtool you find the required option, it might depend on your TYPO3 version where it's located. – David Aug 27 '18 at 06:53

2 Answers2

2

Go to the Install Tool and checkout the Configuration Presets. "Extbase object cache" is one of them. Change it to the database option.

M Klein
  • 553
  • 2
  • 10
  • This makes sense, but not for my problem at first. This seems to be the second step, because I can't open the backend without my solution. – lrefopam Aug 29 '18 at 07:10
  • @mapof: The Install Tool is accessible without Backend! (as it has always been). example.com/typo3/install – M Klein Aug 29 '18 at 19:27
-1

I found the solution by myself.

In LocalConfiguration.php I searched for APCu and changed 'extbase_object' to the following:

 'SYS' => [
    'caching' => [
        'cacheConfigurations' => [
            'extbase_object' => [
                'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend',
                'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
                'groups' => [
                    'system',
                ],
                'options' => [
                    'defaultLifetime' => 0,
                ],
            ],
        ],
    ],
lrefopam
  • 511
  • 1
  • 5
  • 22
  • 2
    `NullBackend` disables caching and has a negative impact on performance. You can use a `DatabaseBackend` or `SimpleFileBackend` as alternative. See https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/CachingFramework/FrontendsBackends/Index.html#cache-backends for details... – Oliver Hader Aug 27 '18 at 07:11
  • Better use Install Tool to see all options described above then change it in LocalConfiguration.php – Heinz Schilling Aug 28 '18 at 07:27
  • Thank you guys. Please read my answer at the comment from @M Klein – lrefopam Aug 29 '18 at 07:10