Actions
Feature #64030
closedExtended APCu detection in Install Tool
Start date:
2014-12-23
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
I'd like to suggest adding extended APC detection in
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/ApcPreset.php
The reason: If like me, you've enabled APCu via PHP 5.5 but are running suPHP, you will be disappointed by the green "APC detected" message in the install tool.
APC is there, but it doesn't store anything between sessions, as suPHP doesn't allow that.
So there's a basic multi-request test for APC that would be more useful here:
$var = apc_fetch('testvar'); if ($var===false) $var=0; echo $var; apc_store('testvar', ++$var);
Run this twice, if the counter goes up, it's fine. If not: "APC is detected, but it's not working as supposed"
cf. http://stackoverflow.com/questions/27625563/apcu-and-suphp-possible
Actions