Click to See Complete Forum and Search --> : [Resolved] How to install GD 2.0.5 into PHP 4.3.3?


LukeSW
11-06-2003, 02:17 PM
How can I install GD 2.0.5 (with PNG and jpeg -support) into PHP 4.3.3?

I'm neebie on these GD component installations and I don't get it how to install those things.

Operating system where Apache 2.0.46 and PHP is running is Windows 2000 Pro (+ SP3).


LukeSW

Merve
11-06-2003, 09:18 PM
Read this: www.php.net/gd

LukeSW
11-07-2003, 10:01 AM
I know that GD should compile C-compiler but as I told, I am neebie.

Don't know for sure, how to compile and install GD.

Could you (or someone else) compile and install this gd (2.0.15) for me or neebie-instructions for that?

My C++-compiler is Borland C++ 3.1.


LukeSW

infinite_root
11-18-2003, 09:52 PM
use the following

export CFLAGS="-O2 -march=i686 -funroll-loops \
-D_REENTRANT -fPIC"
export LIBS="-lpng -ljpeg"
./configure --with-gd --with-png --with-jpeg-dir=/usr --with-png-dir=/usr

El Sime
11-24-2003, 11:55 AM
hi i'm totally new to this gd thing.
i have php 4.3 that came with my mdk9.2
do i have to compile php as well?
is there a way to make gd work without compiling php?
tnx
sime

LukeSW
11-25-2003, 05:52 PM
I read other gd-installing problems and I outcome that I have to only uncomment one line and add one path to the php.ini file.

That's it. :)


LukeSW