2 namespace TYPO3\CMS\Install\Configuration\ExtbaseObjectCache;
17 use TYPO3\CMS\Install\Configuration;
38 'SYS/caching/cacheConfigurations/extbase_object' => array(
39 'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
40 'backend' => \TYPO3\CMS\Core\Cache\Backend\ApcBackend::class,
42 'defaultLifetime' => 0,
44 'groups' => array(
'system')
57 if (extension_loaded(
'apc')) {
58 $memoryInfo = @apc_sma_info();
59 $totalMemory = $memoryInfo[
'num_seg'] * $memoryInfo[
'seg_size'];
60 $availableMemory = $memoryInfo[
'avail_mem'];
63 if ($totalMemory > (99 * 1024 * 1024)
64 && $availableMemory > (5 * 1024 * 1024)) {