Project

General

Profile

Actions

Feature #64030

closed

Extended APCu detection in Install Tool

Added by Urs Braem over 9 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #63291: APC & CMS7Closed2014-11-24

Actions
Actions

Also available in: Atom PDF