Page MenuHomePhabricator

D17197.diff
No OneTemporary

D17197.diff

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

Mime Type
text/plain
Expires
Wed, May 8, 9:07 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6272998
Default Alt Text
D17197.diff (1 KB)

Event Timeline