-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gd has unrecognized options in PHP 7.4 #912
Comments
swapping the base image to no error from output from step 4
Has there been an undocumented change to |
I came accross the same issue. I could repair it by changing the line
into
I could not find a --with-png option, but png resizing worked in my case. So maybe png support is a built in default as of PHP 7.4. A further change I had to make was to include the libonig-dev apt package in order to compile the pdo module. It's strange that the README.md and the description on Docker Hub don't give examples how to compile pdo and gd properly on PHP 7.4, but only give it for PHP 7.2 (which still works for 7.3 as well). |
That has indeed fixed the issue. Thanks @richardbrinkman |
This is a change by PHP in Version 7.4 |
Thanks @JoelLinn |
The GD options changed by using pkg-config is explained in the upgrading document Also the upgrading document mentions in the changes to the MBSTRING extension, the following:
For those building off of Debian flavored images use (libonig-devel). I found it useful to put the library in my build dependencies with the libpng library |
Thanks @richardbrinkman |
PHP 7.4 and above
|
During an upgrade to PHP 7.4 I can't specify options to
docker-php-ext-configure
test Dockerfile below
output from step 3
output from step 4
The text was updated successfully, but these errors were encountered: