Re: windows 2000 + PHP4.10 + gd1.8.4

From: Date: Mon, 14 Jan 2002 17:15:16 +0000
Subject: Re: windows 2000 + PHP4.10 + gd1.8.4
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5565@lists.php.net to get a copy of this message
The problem is that the gd support included is only 1.6 (which doesn't have JPEG support). I am having this same problem, but I don't have Visual C++ to compile a new php_gd.dll (and I would rather just have the binary, rather than have to compile it). Does anyone know how to get a php_gd.dll with 1.8.4? "Jonathan Hilgeman" <JHilgeman@ecx.com> wrote in message news:5D90F61EB6FDD411836500508B137F1AA3F15F@mailsvr.ecx.com... > You should be able to download the PHP4.10 Windows binary with the GD > extension already compiled in, from PHP's web site.... what else do you > need? > > - Jonathan > > -----Original Message----- > From: Marc Maniscalco [mailto:maniscalco@mitre.org] > Sent: Thursday, December 20, 2001 1:16 PM > To: php-install@lists.php.net > Subject: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4 > > > I am trying to use a PHP script called > jpgraph(http://www.aditus.nu/jpgraph/index.php), but I need GD-1.8.4 > installed first. I have read through the documentation on the gd web site > (http://www.boutell.com/gd/), and I cannot figure it out. In windows I do > not have the slightest idea how to compile the code. I have Visual C++ 6.0, > and I have tried to compile it, but it keeps asking for the zlib.h header > file. I do not know enough about the compiler to include new static > libraries, or dlls. Is there anyway you guys could make a windows binary > for me to use or explain in plain english how to do it? I am unfortunately > not a very good windows programmer. > > Here is a list of the files I have donwloaded: > GD-1.8.4 > PHP-4.10 > JPEG-6B > ZLIB113 > LIBPNG1011 > > I know I need the zlib, and libpng libraries inorder to compile gd. In the > libpng they have a project already started, so I opened it and compiled the > code. It created the .lib for libpng, and zlib. Now I think I need the > dlls? But I'm not sure, and if I do need them I don't have them. I added > the .lib to my library's directory in the ms directory. I try to compile > gd.c and it says it can't find zlib.h. I then copied zlib.h(and zconf.h it > is included in zlib.h) into the include directory for ms. Then I get the > errors: > > gd.obj : error LNK2001: unresolved external symbol _gdCalloc > gd.obj : error LNK2001: unresolved external symbol _gdMalloc > gd.obj : error LNK2001: unresolved external symbol _gdFree > gd.obj : error LNK2001: unresolved external symbol _gdSinT > gd.obj : error LNK2001: unresolved external symbol _gdCosT > gd.obj : error LNK2001: unresolved external symbol _gdRealloc > > I also get warnings about converting doubles to ints. > > I am lost at this point, any help would be appriciated. I also figured that > someone would have create a binary for GD but I cannot find it. Why doesn't > PHP include support for gd? It would make life easier (for me hahaha). > > Thanks for any help, > Marc Maniscalco > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#5565) next »