Page MenuHomeDevCentral

Upgrade image to PHP 7.2
ClosedPublic

Authored by dereckson on Oct 15 2018, 02:05.
Referenced Files
F7950805: D1922.diff
Mon, May 5, 18:32
Unknown Object (File)
Wed, Apr 30, 04:11
Unknown Object (File)
Fri, Apr 25, 16:39
Unknown Object (File)
Thu, Apr 24, 18:38
Unknown Object (File)
Thu, Apr 24, 14:49
Unknown Object (File)
Thu, Apr 24, 06:49
Unknown Object (File)
Wed, Apr 23, 10:41
Unknown Object (File)
Mon, Apr 21, 19:29

Details

Summary

Currently, the image still runs on PHP 5.6,
as previously Phabricator didn't support PHP 7.

In 2018, the last blockers for PHP 7 adoption
by Phabricator was addressed. DevCentral installation
tested Phabricator + PHP 7.1 then 7.2 with success.
It's stable and gives good performance.

As such, this change switches the image to PHP 7
too. That mainly offers three benefits:

  • it's a supported PHP version
  • it allows to connect to MySQL 8 and faster
  • it's modern and faster

The change is transparent and doesn't require
any configuration change.

Test Plan

Diff Detail

Repository
rDPHAB Docker image for Phabricator
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
php7 (branched from master)
Build Status
Buildable 2989
Build 3237: arc lint + arc unit