php5-gd shows in "php -i | grep -i gd" but not in phpinfo();
Posted
by
Qzen
on Server Fault
See other posts from Server Fault
or by Qzen
Published on 2012-10-18T21:30:02Z
Indexed on
2012/10/18
23:03 UTC
Read the original article
Hit count: 328
I am trying to enable GD in my installation of Apache2, PHP5 and MySQL on my Ubuntu server.
I installed php5-gd with:
apt-get install php5-gd
And when I run php -i
I get:
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
But it does not show up in phpinfo();
I have restarted the server four times and I have tried to restart Apache2 four million times.
Does anyone have any idea of how to fix this problem?
© Server Fault or respective owner