php gd functions

Reply

Join Date: Jan 2009
Posts: 39
Reputation: headedtomexico is an unknown quantity at this point 
Solved Threads: 0
headedtomexico headedtomexico is offline Offline
Light Poster

php gd functions

 
0
  #1
Oct 6th, 2009
I've attempted googling this, but i'm not gearing my searches right or something cause i'm coming up with junk.

I have some php software I design that uses GD functions. One of my main users is on an extra machine that belongs to a hosting company. With my software installed on their site the GD functions keep coming back as not found.

The sites php info page shows that GD is installed with all the options. I found some info that did say if they did a makeclean before reinstalling that it could possibly fix the problem, but the owner of the machine wont do a reinstall for the site operator.

Is there something I/he can do to attempt to diagnose or even fix the problem without being able to reinstall?

The first function that failed was imageftbbox(), so I downgraded to code to imagettfbbox() and that wasn't found either.

Any help would be greatly appreciated.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 55
Reputation: wilch is an unknown quantity at this point 
Solved Threads: 9
wilch wilch is offline Offline
Junior Poster in Training
 
0
  #2
Oct 7th, 2009
Well, i dont know how helpful this is, but once my applxn could not use the gd functions too, though the library was installed, so i read some article that told me i had to uncomment the line that included the gd library in the php.ini file. So, after uncommenting the line below, the code executed.
extension=gd.so I was working on a linux machine. I think on a windows machine the same line would be
extension=gd.dll Good luck.
umm.. by the way how do you do it ?
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 557
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro
 
0
  #3
Oct 7th, 2009
Originally Posted by headedtomexico View Post
The first function that failed was imageftbbox(), so I downgraded to code to imagettfbbox() and that wasn't found either.

Any help would be greatly appreciated.
The imagettfbbox() rquires both GD library and the FreeType library both.
FreeType@ http://freetype.sourceforge.net or http://www.freetype.org
You did it?
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 187 | Replies: 2
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC