diff --git a/core/install.php b/core/install.php
index 5940fbeb..0879217 100644
--- a/core/install.php
+++ b/core/install.php
@@ -26,6 +26,12 @@
   exit;
 }
 
+$opcache_enabled = (function_exists('opcache_get_status') && opcache_get_status()['opcache_enabled']);
+if ($opcache_enabled && !ini_get('opcache.save_comments')) {
+  print 'Systems with OPcache installed must have <a href="http://php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments">opcache.save_comments</a> enabled.';
+  exit();
+}
+
 // Start the installer.
 $class_loader = require_once 'autoload.php';
 require_once __DIR__ . '/includes/install.core.inc';
