-
Notifications
You must be signed in to change notification settings - Fork 2k
GD Extension compiles without JPEG Support #881
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
Comments
This is somewhat expected; see https://github.com/docker-library/wordpress/blob/1283fde76747fe5992e714b782b01a65e9973a47/Dockerfile-debian.template#L16 for an example ( |
Ah, right. Thanks. I guess this is not a bug then. :P |
I'm now getting this issue with PHP 7.4 I have the I have tried with both
|
Looks like gd isn't liking the options
|
I've created a new issue #912 |
For those new (like me) to configuring PHP extensions, make sure you run the configuration command before you install the extension itself. # first configure the to-be-installed extension
RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr
# Only then install it
RUN docker-php-ext-install gd |
When I put
docker-php-ext-install gd
in the Dockerfile extendingphp:7.3.8-cli
, the result is that the extension is compiled without support for JPEG.The result when calling
var_dump(gd_info())
on PHP shipped with MacOS:The result from the docker version:
The text was updated successfully, but these errors were encountered: