Docker Community Forums

Share and learn in the Docker community.

GD Library / Intervention & Bare Error 500

Any Docker Pros out there that could solve this Laradock GD Library error 500 issue ? I am using Laradock with workspace, php worker, php-fcg, redis, mariadb, nginx containers

For some reason the built in GD Library in php-fpm container refuses to play nice with PHP Intervention for Laravel (issue added there as well ). On each upload I get an error 500. With Imagemagick I have no issues. But I want to use the GD Library. The only error I get on the command line or in logs is:
php-fpm_1 | - 04/Apr/2019:02:36:42 +0000 "POST /index.php" 500

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

It is buit in with

# Install the PHP gd library
&& docker-php-ext-configure gd \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 && \
   docker-php-ext-install gd

And when I check phpinfo it shows it works just fine and with png and jpg.

How can I get Nginx or PHP to do a useful error report and how can I make GD Library play nice?