Forum Moderators: coopster

Message Too Old, No Replies

Installing GD library

         

toltec75

2:06 pm on Mar 13, 2005 (gmt 0)

10+ Year Member



Well, how do I do it? ON php.net says to use --with-gd.... to configure php. Where do I use it!

Thanx for your help.

bluedalmatian

4:58 pm on Mar 13, 2005 (gmt 0)

10+ Year Member



when you run ./configure

e.g

./configure --with-gd

i think though, annoyingly, you need to install libjpeg & libpng first because for some insane reason theyre not included.

i dont understand the logic of them bundling gd with php as a 'convinience' when all the libraries needed to make it work still have to be obtained & installed manually!

if youre on a linux system (?) you might want to see if you can find an RPM of PHP which is copiled with gd already setup in it. it would make the task easier. if you find such a thing please post its address here cos i'd love a copy!

AW

toltec75

5:29 pm on Mar 13, 2005 (gmt 0)

10+ Year Member



sorry man, but where is the freakin` ./configure. What is it, Where do I write that line?

bluedalmatian

12:48 am on Mar 14, 2005 (gmt 0)

10+ Year Member



it occurred to me after that maybe you were trying to set it up on a windows system, i assumed you were trying to set up on a unix server seeing as thats where php is used most.

are you on windows? if so you've got the pre-compiled version, ./configure is only used on unix systems when compiling php from source.

on windows, you install gd by adding it as an extension to php. it's basically a dll file that you install, then modify the php.ini file to point to it.

[php.net...]

toltec75

2:12 am on Mar 14, 2005 (gmt 0)

10+ Year Member



thanx, man
i`ll check it out :)