Page 1 of 1

PHP and GD-LIB

Posted: Thu May 30, 2002 6:26 am
by Coyote
I am running IIS5 and PHP 4.2.0 - the problems is that I need to place text on an image :( but I dont have GDlib installed.

Can anybody tell me where I can find a compiled binary version of GDlib and an install tutorial please :)

Thanks for taking the time to read this.

Posted: Thu May 30, 2002 9:37 am
by volka
it's in the distribution of php for win32. add 'extension=php_gd2.dll' to your php.ini. The .dll is in <php>\extension. Since this is gd 2.xx there is no support for gif-images anymore.

Posted: Thu May 30, 2002 9:41 am
by Coyote
Thanks for answering Volka.

I found that but when I changed it - it hung the browser :(

I am running PHP as a CGI module - do I have to change to ISAPI?

Posted: Thu May 30, 2002 10:12 am
by volka
if it is possible to change to isapi do so. it's faster, it's smarter - it's better at all ;) i.e. php lacks some of the auth-information if it is running as cgi on IIS.
---
did it hung your browser or the request?

Posted: Fri May 31, 2002 2:41 am
by Coyote
Ok, I will change it to ISAPI today :) thanks for the tip.

and yes it hung on the request :(

Its the first time ive installed PHP on an W2K box.... SO its probably something Ive done.

I'll see if i can clean out the CGI install and start again :)

Thanks for taking the time to help me :D