Andrew Collington 8 anni fa
parent
commit
4da19124fc
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      index.php

+ 4 - 0
index.php

@@ -36,6 +36,10 @@ if (!extension_loaded('Zend OPcache')) {
     die('The Zend OPcache extension does not appear to be installed');
 }
 
+if (empty(ini_get('opcache.enable'))) {
+    die('The Zend OPcache extension is installed but not turned on');
+}
+
 class OpCacheService
 {
     protected $data;