[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes
WordPress Trac
noreply at wordpress.org
Wed Oct 7 13:40:46 UTC 2020
#50913: PHP 8.0: various compatibility fixes
-------------------------------------------+-------------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 5.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: php8 has-patch needs-dev-note | Focuses: coding-standards
-------------------------------------------+-------------------------------
Comment (by desrosj):
Wanted to provide a few updates here.
The
[https://hub.docker.com/layers/wordpressdevelop/php/8.0-fpm/images/sha256-14ec78c9d38baca85764d889c947cb7973c308692a239fd7b043416674e5fe10?context=explore
PHP 8 wpdev Docker image] has been updated to be more inline with the ones
for other versions of PHP. There are a few exceptions:
- xDebug is not installed. Support for PHP 8.0 is not yet added, though it
is planned for version 3.0.
- The Imagick extension is not installed. The
[https://github.com/Imagick/imagick/issues/331#issuecomment-680689872 main
branch of Imagick does support PHP 8]. However, an official version has
not been released containing those changes.
[https://github.com/Imagick/imagick/issues/331#issuecomment-704341553 I
inquired] about when to expect that tagged version.
I also switched the container being used from `devilbox` (which was
installing PHP 8.0.0-dev) to the latest one from the
[https://hub.docker.com/_/php/?tab=tags official PHP account] (8.0 RC1).
Since PHP 8 is now in the beta/RC stages, they will be creating containers
with each release.
I'll make sure to update the PHP 8 image as each new RC is released.
Before starting the Docker container to test on PHP 8, make sure to run
`npm run env:pull` to ensure you have the most up to date version of the
container installed.
The call for testing has also been published:
https://make.wordpress.org/core/2020/10/06/call-for-testing-php-8-0/.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50913#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list