LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > GD Library

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2008, 07:53 PM
.Bob .Bob is offline
Member
 
Join Date: Jul 2008
Posts: 15
Default GD Library

Hi,

I am currently running CentOS with the latest version of Litespeed & PHP 5.


Well here is the problem. I am trying to get GD library too work. I have compiled PHP with the --with-gd flag (using litespeed's admin panel "Compile PHP" interface) and still no go. Things such as captchas (image verifications) for forums will not load. I dont know whats wrong.

Any suggestions on how to go about fixing this?


Thanks,
Bob
Reply With Quote
  #2  
Old 08-21-2008, 08:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You may need to include png, jpeg and freetype2 support when you build the PHP. Check stderr.log and error.log for related errors.
Reply With Quote
  #3  
Old 08-21-2008, 09:35 PM
.Bob .Bob is offline
Member
 
Join Date: Jul 2008
Posts: 15
Ah yeah that was it. Had to manually install the libjpeg and libpng packages and recompile PHP with the --with-png-dir=/usr/local --with-zlib-dir=/usr --with-jpeg-dir=/usr/local flags and it worked. Too bad those arent included with the actual GD package its self.

Thanks for your help.
Bob
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:37 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.