Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorSetupCheckAPC.php
| Show All 13 Lines | if (!extension_loaded('apc')) { | ||||
| ->setShortName(pht('APC')) | ->setShortName(pht('APC')) | ||||
| ->setName(pht("PHP Extension 'APC' Not Installed")) | ->setName(pht("PHP Extension 'APC' Not Installed")) | ||||
| ->setMessage($message) | ->setMessage($message) | ||||
| ->addPHPExtension('apc'); | ->addPHPExtension('apc'); | ||||
| return; | return; | ||||
| } | } | ||||
| if (!ini_get('apc.enabled')) { | if (!ini_get('apc.enabled')) { | ||||
| $summary = pht("Enabling APC will dramatically improve performance."); | $summary = pht('Enabling APC will dramatically improve performance.'); | ||||
| $message = pht( | $message = pht( | ||||
| "The PHP extension 'APC' is installed, but not enabled in your PHP ". | "The PHP extension 'APC' is installed, but not enabled in your PHP ". | ||||
| "configuration. Enabling it will dramatically improve Phabricator ". | "configuration. Enabling it will dramatically improve Phabricator ". | ||||
| "performance. Edit the 'apc.enabled' setting to enable the extension."); | "performance. Edit the 'apc.enabled' setting to enable the extension."); | ||||
| $this | $this | ||||
| ->newIssue('extension.apc.enabled') | ->newIssue('extension.apc.enabled') | ||||
| ->setShortName(pht('APC Disabled')) | ->setShortName(pht('APC Disabled')) | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||