diff --git a/src/applications/cache/spec/PhabricatorCacheSpec.php b/src/applications/cache/spec/PhabricatorCacheSpec.php --- a/src/applications/cache/spec/PhabricatorCacheSpec.php +++ b/src/applications/cache/spec/PhabricatorCacheSpec.php @@ -79,6 +79,9 @@ } protected function raiseInstallAPCIssue() { + if (version_compare(phpversion(), '7', '>=')) { + return; + } $message = pht( "Installing the PHP extension 'APC' (Alternative PHP Cache) will ". "dramatically improve performance. Note that APC versions 3.1.14 and ". diff --git a/src/applications/cache/spec/PhabricatorDataCacheSpec.php b/src/applications/cache/spec/PhabricatorDataCacheSpec.php --- a/src/applications/cache/spec/PhabricatorDataCacheSpec.php +++ b/src/applications/cache/spec/PhabricatorDataCacheSpec.php @@ -61,7 +61,7 @@ } private function initNoneSpec() { - if (version_compare(phpversion(), '5.5', '>=')) { + if (version_compare(phpversion(), '5.5', '>=') && version_compare(phpversion(), '7', '<')) { $message = pht( 'Installing the "APCu" PHP extension will improve performance. '. 'This extension is strongly recommended. Without it, Phabricator '. diff --git a/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php b/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php --- a/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php +++ b/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php @@ -188,7 +188,7 @@ } private function initNoneSpec() { - if (version_compare(phpversion(), '5.5', '>=')) { + if (version_compare(phpversion(), '5.5', '>=') && version_compare(phpversion(), '7', '<')) { $message = pht( 'Installing the "Zend OPcache" extension will dramatically improve '. 'performance.');