Skip to content
Snippets Groups Projects
Commit 8375b5c4 authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[BUGFIX] Warning in Install Tool if APC is installed but not enabled

Resolves: #53748
Releases: 6.2
Change-Id: I22a2b60871639075dc108946bbaeae3730fc7085
Reviewed-on: https://review.typo3.org/25493
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
parent 7587e0e2
Branches
Tags
No related merge requests found
......@@ -59,7 +59,7 @@ class ApcPreset extends Configuration\AbstractPreset {
public function isAvailable() {
$result = FALSE;
if (extension_loaded('apc')) {
$memoryInfo = apc_sma_info();
$memoryInfo = @apc_sma_info();
$totalMemory = $memoryInfo['num_seg'] * $memoryInfo['seg_size'];
$availableMemory = $memoryInfo['avail_mem'];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment