Page MenuHomeDevCentral

Upgrade to PHP 7.1.0
ClosedPublic

Authored by dereckson on Dec 24 2016, 18:27.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 19:12
Unknown Object (File)
Sun, Dec 22, 08:04
Unknown Object (File)
Sun, Dec 22, 00:38
Unknown Object (File)
Sun, Dec 22, 00:15
Unknown Object (File)
Sun, Dec 15, 11:39
Unknown Object (File)
Fri, Dec 13, 05:01
Unknown Object (File)
Thu, Dec 12, 05:56
Unknown Object (File)
Thu, Dec 12, 05:33
Subscribers
None

Details

Summary

To continue to offer an up to date CLI PHP environment to Docker
containers to run Arcanist, phpunit and other PHP apps, we jump
from PHP 5.6.29 to PHP 7.1.0.

Some features were missing from PHP 7.0 branches, like PCNTL signals,
and some users was so more confortable to wait PHP 7.1. We've tested
CLI applications behavior with this version since December, we're
fairly happy with the results.

Legacy PHP 5.6 apps will be able to use our 5.6.29 tag, and ask us
for migration support to migrate to latest.

Upgrade process is similar than e07d5b80404.

We add APCu too, as this image is used for CI purpose and we take
responsibility to provide a comprehensive PHP environment.

Some unmaintained PECL extensions, newt and ncurses are removed.

Test Plan

Build, rebuild nasqueron/arcanist

Diff Detail

Repository
rDPHPCLI nasqueron/php-cli Docker image
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
PHP7 (branched from master)
Build Status
Buildable 1162
Build 1383: arc lint + arc unit

Event Timeline

Fix syntax error in Dockerfile

Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Dec 24 2016, 18:35

pecl/newt requires PHP (version >= 4.3.0, version <= 5.99.99), installed version is 7.1.0

This revision is now accepted and ready to land.Dec 24 2016, 19:16

Arcanist build

root@6c207da479b9:/# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ncurses.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/ncurses.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/newt.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/newt.so: cannot open shared object file: No such file or directory in Unknown on line 0

This revision is now accepted and ready to land.Dec 24 2016, 21:45

Remove configuration files for removed extensions

This revision was automatically updated to reflect the committed changes.