LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2010, 07:54 PM   #1
packets
Member
 
Registered: Oct 2005
Posts: 339

Rep: Reputation: 32
how to verify gd installation on php


I'm setting up squirrelmail with captcha. I installed php as a module but I don't its an issue. I've re-compile php with gd support. I installed libpng,libjpeg,zlib using rpm but since my php is from source so I decided to install source version of libpng,libjpeg,zlib following this instruction on this site.

Here is my configure parameters

Code:
 ./configure --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache/php --enable-force-cgi-redirect --disable-cgi --with-gettext --with-gdbm --with-jpeg-dir=/usr/local/lib  --with-zlib-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-gd
When I do ./php -m, I see gd

Code:
[PHP Modules]
ctype
date
dba
dom
filter
gd
gettext
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]
I also tried to use this script found here to test and it was fine also.

Code:
GD is supported by your server!

GD VersionYes
FreeType SupportNo
T1Lib SupportNo
GIF Read SupportYes
GIF Create SupportYes
JPG SupportYes
PNG SupportYes
WBMP SupportYes
XPM SupportNo
XBM SupportYes
JIS-mapped Japanese Font SupportNo
However, my image is still broken.

Can anyone help me or give me a link with working installation of gd-php.
 
Old 06-16-2010, 08:32 PM   #2
packets
Member
 
Registered: Oct 2005
Posts: 339

Original Poster
Rep: Reputation: 32
Fix.

Just need to install Xpm. Thanks LQ
 
  


Reply



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
verify installation of service pack nolinuxnollife Linux - Software 2 06-10-2008 04:46 AM
How to Verify Software before installation? a49002 Linux - Software 4 03-13-2007 08:14 PM
Php account verify email links back to php.org zenerdiode Linux - Server 3 10-03-2006 05:21 PM
How do I verify my burnt installation DVD? noob_nz SUSE / openSUSE 6 02-16-2006 07:29 PM
Can you verify a url with php? digitalgravy Programming 4 03-01-2004 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 AM.

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