Page 1 of 1

Installation of GD on windows

Posted: Tue May 20, 2003 12:40 pm
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

Posted: Tue May 20, 2003 1:12 pm
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

Posted: Tue May 20, 2003 2:30 pm
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