diff --git a/lib/Client.php b/lib/Client.php index 8b651af..a363776 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -106,7 +106,7 @@ class Client { $this->responseInterpreter = $responseInterpreter ?: new ResponseInterpreter; if (!$cache) { - if (extension_loaded('apc')) { + if (extension_loaded('apc') && ini_get("apc.enabled")) { $cache = new APCCache; } else {