Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #50639, comment 11


Ignore:
Timestamp:
09/16/2020 03:05:37 AM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50639, comment 11

    v2 v3  
    1 Looking at the media test failures, they appear to be caused by [https://github.com/WordPress/wpdev-docker-images/blob/84a4acfc15fd0bff04e3342e5c24a2c0ce5211cf/update.php#L181 missing 'gd' extension] in the [https://github.com/WordPress/wpdev-docker-images WP Docker image]. That includes tests explicitly checking for `imagejpeg()` and failing with "jpeg support unavailable", as well as tests implicitly relying on GD availability without specifically checking for it, causing more obscure failures.
     1Looking at the media test failures, they appear to be caused by [https://github.com/WordPress/wpdev-docker-images/blob/84a4acfc15fd0bff04e3342e5c24a2c0ce5211cf/update.php#L181 missing 'gd' extension] in the [https://github.com/WordPress/wpdev-docker-images WP Docker image]. That includes tests explicitly checking for `imagejpeg()` and failing with "jpeg support unavailable", as well as tests implicitly relying on GD availability without specifically checking for it, causing more obscure failures. So consistently requiring GD functions where needed seems like the next step here.
    22
    33The Docker image should probably be updated to provide the same list of extensions for PHP 8 that we currently have for PHP 7.4 and older: `gd`, `opcache`, `mysqli`, `zip`, `exif`, `intl`, `mbstring`, `xml`, `xsl`. If anyone is able to help with that and open a PR, please do :)