Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15400427
D16685.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16685.diff
View Options
diff --git a/src/applications/config/view/PhabricatorSetupIssueView.php b/src/applications/config/view/PhabricatorSetupIssueView.php
--- a/src/applications/config/view/PhabricatorSetupIssueView.php
+++ b/src/applications/config/view/PhabricatorSetupIssueView.php
@@ -404,19 +404,48 @@
implode("\n", $more_loc));
}
- $info[] = phutil_tag(
- 'p',
- array(),
- pht(
- 'You can find more information about PHP configuration values in the '.
- '%s.',
- phutil_tag(
- 'a',
- array(
- 'href' => 'http://php.net/manual/ini.list.php',
- 'target' => '_blank',
- ),
- pht('PHP Documentation'))));
+ $show_standard = false;
+ $show_opcache = false;
+
+ foreach ($configs as $key) {
+ if (preg_match('/^opcache\./', $key)) {
+ $show_opcache = true;
+ } else {
+ $show_standard = true;
+ }
+ }
+
+ if ($show_standard) {
+ $info[] = phutil_tag(
+ 'p',
+ array(),
+ pht(
+ 'You can find more information about PHP configuration values '.
+ 'in the %s.',
+ phutil_tag(
+ 'a',
+ array(
+ 'href' => 'http://php.net/manual/ini.list.php',
+ 'target' => '_blank',
+ ),
+ pht('PHP Documentation'))));
+ }
+
+ if ($show_opcache) {
+ $info[] = phutil_tag(
+ 'p',
+ array(),
+ pht(
+ 'You can find more information about configuring OPCache in '.
+ 'the %s.',
+ phutil_tag(
+ 'a',
+ array(
+ 'href' => 'http://php.net/manual/opcache.configuration.php',
+ 'target' => '_blank',
+ ),
+ pht('PHP OPCache Documentation'))));
+ }
$info[] = phutil_tag(
'p',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 11:34 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390660
Default Alt Text
D16685.diff (1 KB)
Attached To
Mode
D16685: When setup issues raise opcache configuration errors, point at the opcache configuration page
Attached
Detach File
Event Timeline
Log In to Comment