Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15188680
D17197.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
D17197.diff
View Options
diff --git a/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php b/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
--- a/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
+++ b/src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
@@ -11,15 +11,16 @@
}
protected function executeChecks() {
- if (version_compare(phpversion(), 7, '>=')) {
+ if (version_compare(phpversion(), 7, '>=') &&
+ version_compare(phpversion(), 7.1, '<')) {
$message = pht(
- 'This version of Phabricator does not support PHP 7. You '.
- 'are running PHP %s.',
+ 'This version of Phabricator does not support PHP 7.0. You '.
+ 'are running PHP %s. Upgrade to PHP 7.1 or newer.',
phpversion());
$this->newIssue('php.version7')
->setIsFatal(true)
- ->setName(pht('PHP 7 Not Supported'))
+ ->setName(pht('PHP 7.0 Not Supported'))
->setMessage($message)
->addLink(
'https://phurl.io/u/php7',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 3:04 PM (6 h, 16 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7181144
Default Alt Text
D17197.diff (1 KB)
Attached To
Mode
D17197: Change PHP 7 setup warning to complain about 7.0 only, not 7.1+
Attached
Detach File
Event Timeline
Log In to Comment