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)
Mon, Nov 4, 03:51
Unknown Object (File)
Thu, Oct 31, 01:21
Unknown Object (File)
Wed, Oct 30, 05:30
Unknown Object (File)
Tue, Oct 29, 07:31
Unknown Object (File)
Mon, Oct 28, 09:37
Unknown Object (File)
Mon, Oct 28, 07:26
Unknown Object (File)
Sat, Oct 26, 00:15
Unknown Object (File)
Fri, Oct 25, 04:09
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
Lint Not Applicable
Unit
Tests Not Applicable

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.