Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2681104
D25203.1734635108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25203.1734635108.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
@@ -73,20 +73,22 @@
'Install these %d PHP extension(s):', count($extensions));
$install_info = pht(
- 'You can usually install a PHP extension using %s or %s. Common '.
- 'package names are %s or %s. Try commands like these:',
+ 'You can usually install a PHP extension using %s, %s, or %s. A '.
+ 'common package name is %s. Try commands like these:',
phutil_tag('tt', array(), 'apt-get'),
+ phutil_tag('tt', array(), 'dnf'),
phutil_tag('tt', array(), 'yum'),
- hsprintf('<tt>php-<em>%s</em></tt>', pht('extname')),
- hsprintf('<tt>php5-<em>%s</em></tt>', pht('extname')));
+ hsprintf('<tt>php-<em>%s</em></tt>', pht('extname')));
// TODO: We should do a better job of detecting how to install extensions
// on the current system.
$install_commands = hsprintf(
- "\$ sudo apt-get install php5-<em>extname</em> ".
+ "\$ sudo apt-get install php-<em>extname</em> ".
"# Debian / Ubuntu\n".
- "\$ sudo yum install php-<em>extname</em> ".
- "# Red Hat / Derivatives");
+ "\$ sudo dnf install php-<em>extname</em> ".
+ "# Red Hat / Derivatives\n".
+ "\$ sudo yum install php-<em>extname</em> ".
+ "# Older Red Hat versions");
$fallback_info = pht(
"If those commands don't work, try Google. The process of installing ".
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 19:05 (3 h, 36 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015033
Default Alt Text
D25203.1734635108.diff (1 KB)
Attached To
Mode
D25203: Remove PHP version suffixes on "Missing Required Extensions"; Mention dnf
Attached
Detach File
Event Timeline
Log In to Comment