@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Raise explicit setup issues about PHP 7

Summary: Ref T9640. Fixes T9888. Decline to support PHP 7 until the async signal handling issue in T11270 is resolved.

Test Plan: Faked local version, got helpful error message.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640, T9888

Differential Revision: https://secure.phabricator.com/D16231

+19 -1
+17
src/applications/config/check/PhabricatorPHPConfigSetupCheck.php
··· 11 11 } 12 12 13 13 protected function executeChecks() { 14 + if (version_compare(phpversion(), 7, '>=')) { 15 + $message = pht( 16 + 'This version of Phabricator does not support PHP 7. You '. 17 + 'are running PHP %s.', 18 + phpversion()); 19 + 20 + $this->newIssue('php.version7') 21 + ->setIsFatal(true) 22 + ->setName(pht('PHP 7 Not Supported')) 23 + ->setMessage($message) 24 + ->addLink( 25 + 'https://phurl.io/u/php7', 26 + pht('Phabricator PHP 7 Compatibility Information')); 27 + 28 + return; 29 + } 30 + 14 31 $safe_mode = ini_get('safe_mode'); 15 32 if ($safe_mode) { 16 33 $message = pht(
+2 -1
src/docs/user/installation_guide.diviner
··· 70 70 You will also need: 71 71 72 72 - **MySQL**: You need MySQL. We strongly recommend MySQL 5.5 or newer. 73 - - **PHP**: You need PHP 5.2 or newer. 73 + - **PHP**: You need PHP 5.2 or newer, but note that PHP 7 is 74 + **not supported**. 74 75 75 76 You'll probably also need a **domain name**. In particular, you should read this 76 77 note: