Installation of GD on windows

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PaulCreedy
Forum Newbie
Posts: 6
Joined: Mon May 19, 2003 4:30 am

Installation of GD on windows

Post by PaulCreedy »

I have PHP 4.3 installed on my Windows machine and would like to use the GD image library.

I was under the impression that it was included in this version of PHP but the GD function do not seem to be recognised as I get the: Call to undefined function error.

All instructions I've seen so far seem to refer to either the Apache version and talk of recompiling PHP.

I'm using Windows and PHP 4.3 came as a self installer exe.

Can anyone point me in the right direction on how to get/enable this library and/or anything else I need to go to use Jpeg images?

Thanks
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

The self-installer for Windows does not come with any of the external extensions (such as GD) included. You can get these from the zip package.
http://php.net/downloads.php

Mac
PaulCreedy
Forum Newbie
Posts: 6
Joined: Mon May 19, 2003 4:30 am

Post by PaulCreedy »

Ah!

Thank you.

I have now downloaded the other zip package and find that it it full of dll's including the gd2.dll.

I've now have it installed.

Thanks again
Post Reply