Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-16-2012, 02:30 PM   #1
Registered: Feb 2010
Posts: 34

Rep: Reputation: 0
Installing GD support for linux.


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 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 ?
Old 05-16-2012, 03:15 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Try specifying the jpeg and png options in addition to your gd.
Old 05-16-2012, 08:26 PM   #3
Registered: Feb 2010
Posts: 34

Original Poster
Rep: Reputation: 0
Thanks for replying, I tried several ways but didn't get the expected results. I am still not able to get the version information in the phpinfo().


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
linux boot cd with cciss support and USB 2.0 support zerobane Linux - Software 0 03-21-2006 10:03 PM
Installing Wlan drivers, have normal lan support on linux bmonkman Linux - Newbie 2 12-10-2004 12:00 PM
Support your Favorite Distro, Support Linux. bkeating Linux - General 41 05-24-2002 05:03 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration