I've installed GD and run the following: php -i | grep -i gd
which returns:
/etc/php5/cli/conf.d/gd.ini,
gd
GD Support => enabled
GD Version => 2.0
gd.jpeg_ignore_warning => 0 => 0
I run PHP5-fpm with nginx, without the use of apache2.
I have also run sudo /etc/init.d/php5-fpm restart
after checking that gd is enabled.
So it's enabled but when I try to do anything with GD it just won't do anything. Any ideas? Thanks.
phpinfo
gd
GD Support enabled
GD Version 2.0
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.8
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version unknown
PNG Support enabled
libPNG Version 1.2.46
WBMP Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0
Additional .ini files parsed
/etc/php5/fpm/conf.d/gd.ini