Installing GD for Linux can be a little more challanging:

If you are running red had here are a few things you will probably need:

RPMS:
Zlib
Zlib-devel
Libjpeg
Libjpeg-devel
GD (comes with php > 4.3.0)

I think that was all I needed.

Then when you compile php try something like this:

./configure  --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-gd
--with-zlib-dir=/usr/include --enable-sockets

You can optionally add --with-jpeg and
--with-jpeg-dir=/wherever-libjpeg-got-installed

That's a basic install guild for GD on linux for use with PHP...I may not be
100% correct its been a while and I just woke up but that's the nutshell
verion.

Matt

-----Original Message-----
From: Aaron Wolski [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 07, 2004 11:56 AM
To: 'Kim Steinhaug'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Installing GD library

Now... what about installing for Linux?

Any ideas? :)

Aaron

> -----Original Message-----
> From: Kim Steinhaug [mailto:[EMAIL PROTECTED]
> Sent: May 7, 2004 2:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Installing GD library
> 
> put the DLL file in your PHP DLL file directory, uncomment the line in 
> php.ini referring to it.
> 
> Restart apache if running, IIS doesnt need to be restarted.
> 
> --
> --
> Kim Steinhaug
> ----------------------------------------------------------------------
> There are 10 types of people when it comes to binary numbers:
> those who understand them, and those who don't.
> ----------------------------------------------------------------------
> www.steinhaug.com - www.easywebshop.no - www.webkitpro.com
> ----------------------------------------------------------------------
> 
> "Phpu" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Hi,
> I've downloaded the GD library. Can someone tell me how do i install
it on
> a
> windows system?
> I found in internet a few articles but  i don't quite understand.
> Thanks
> 
> --
> PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
> http://www.php.net/unsub.php
> 
> 

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to