Changeset View
Changeset View
Standalone View
Standalone View
src/applications/cache/spec/PhabricatorDataCacheSpec.php
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | if (ini_get('apc.enabled')) { | ||||
$this->raiseEnableAPCIssue(); | $this->raiseEnableAPCIssue(); | ||||
} | } | ||||
} | } | ||||
private function initNoneSpec() { | private function initNoneSpec() { | ||||
if (version_compare(phpversion(), '5.5', '>=')) { | if (version_compare(phpversion(), '5.5', '>=')) { | ||||
$message = pht( | $message = pht( | ||||
'Installing the "APCu" PHP extension will improve performance. '. | 'Installing the "APCu" PHP extension will improve performance. '. | ||||
'This extension is strongly recommended. Without it, Phabricator '. | 'This extension is strongly recommended. Without it, this software '. | ||||
'must rely on a very inefficient disk-based cache.'); | 'must rely on a very inefficient disk-based cache.'); | ||||
$this | $this | ||||
->newIssue('extension.apcu') | ->newIssue('extension.apcu') | ||||
->setShortName(pht('APCu')) | ->setShortName(pht('APCu')) | ||||
->setName(pht('PHP Extension "APCu" Not Installed')) | ->setName(pht('PHP Extension "APCu" Not Installed')) | ||||
->setMessage($message) | ->setMessage($message) | ||||
->addPHPExtension('apcu'); | ->addPHPExtension('apcu'); | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |