Page MenuHomeDevCentral

Upgrade to PHP 7.1.0
ClosedPublic

Authored by dereckson on Dec 24 2016, 18:27.
Tags
None
Referenced Files
F3777253: D764.id1924.diff
Mon, Nov 25, 00:47
Unknown Object (File)
Sat, Nov 23, 16:48
Unknown Object (File)
Fri, Nov 22, 13:29
Unknown Object (File)
Fri, Nov 22, 13:22
Unknown Object (File)
Fri, Nov 22, 12:46
Unknown Object (File)
Fri, Nov 22, 12:24
Unknown Object (File)
Fri, Nov 22, 12:23
Unknown Object (File)
Fri, Nov 22, 12:06
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
arcpatch-D764
Build Status
Buildable 1164
Build 1385: 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.