Skip to content

PHP 8 Docker Updates#36

Merged
desrosj merged 13 commits intomasterfrom
php8-extensions
Oct 6, 2020
Merged

PHP 8 Docker Updates#36
desrosj merged 13 commits intomasterfrom
php8-extensions

Conversation

@desrosj
Copy link
Member

@desrosj desrosj commented Sep 28, 2020

This PR aims to bring the PHP8 Docker setup to match the ones for previous versions of PHP.

Changes:

  • The base_name for PHP 8 was switched to php:8.0:beta4-fpm. Previously devilbox was used, but the PHP 8 image was using PHP 8.0.0-dev. Changing this to be more specific will require an update as newer 8.0 beta/RC releases are published, but it will be more accurate than 8.0.0-dev.
  • PEAR is now disabled by default in PHP, and the ability to enable it may be removed in the future (PHP externals discussion). It seems this was done in PHP 7.4.x, but I'm not sure why that build is not failing as the PHP 8 one did when attempting to call pecl install. This PR installs Pickle, which is new PHP extension installer aiming to get Composer to fully support it.

Still missing, but not blockers (will require follow-up PRs when the libraries are updated):

@desrosj desrosj added the enhancement New feature or request label Sep 28, 2020
@desrosj desrosj self-assigned this Sep 28, 2020
@desrosj desrosj marked this pull request as ready for review September 28, 2020 18:51
@desrosj
Copy link
Member Author

desrosj commented Oct 2, 2020

PHP 8.0.0rc1 is out and the corresponding docker image. Mobile at the moment, but wanted to note that the PR should be updated to use RC1.

Copy link
Member

@wpscholar wpscholar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Validated that missing extensions were installed. Looked up Memcached version compatibility with PHP 8.

@desrosj desrosj merged commit 058e776 into master Oct 6, 2020
@desrosj desrosj deleted the php8-extensions branch October 6, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants