[TASK] Detect APC and APCu correctly 71/19471/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 31 Mar 2013 18:02:01 +0000 (20:02 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 31 Mar 2013 19:12:41 +0000 (21:12 +0200)
commit5d4f0430428240cf1f413672a07912d084244e6d
tree1bed70ce778061e7695a31e90e16631e1bfa8a59
parent931e47cf8b56e11fabb6777fb8fab019a7f1652c
[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Ia62e06c5fdaab1e836f02020277ca0fb17bf118d
Reviewed-on: https://review.typo3.org/19471
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/cache/backend/class.t3lib_cache_backend_apcbackend.php
tests/t3lib/cache/backend/t3lib_cache_backend_apcbackendTest.php