Installing GD support for linux.
Hi,
I am trying to install GD support for PHP in Centos. I am trying the following command. but still it is not showing me the libpng and libjpeg version so it looks GD is not installed properly. I am not getting any error while installing but not getting the optimized results.
Command i used to install:
./configure --prefix=/home/test/dev/php --with-config-file-path=/home/test/dev/php --with-curl --with-bz2 --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-wddx --with-kerberos --enable-ucd-snmp-hack --enable-shmop --enable-calendar --with-mime-magic=/usr/share/file/magic.mime --with-libxml-dir=/usr --with-libxml-dir=/usr --with-apxs2=/home/test/dev/apache/bin/apxs --with-gd --enable-pdo --with-ldap=/usr --with-iconv-dir=/usr --with-xpm-dir=/usr --with-mysql=/usr --with-libdir=lib --enable-mbstring --with-zlib=/usr --enable-ftp --enable-soap --with-xsl
After installing when I run the command i get following results.
gd
GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.2.1
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
I am missing below lines in my results.
libJPEG Version 7.0
libPNG Version 1.2.35
Can anybody help me plz on this ?
|