note 29777 deleted from function.imagecreatefromjpeg by nlopess
| From: | nlopess@php.net | Date: | Sat, 10 Jan 2004 19:57:09 +0000 |
| Subject: | note 29777 deleted from function.imagecreatefromjpeg by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63288@lists.php.net to get a copy of this message | ||
Note Submitter: Jpsy
----
Want to make this work under Windows and wonder how to compile the gd lib into an already existing
binary?
You don't have to. Just do it like this:
Download the Windows ZIP package from http://www.php.net/downloads.php
(You MUST use the ZIP package because the installer version does not contain any extensions. If you
already installed using the installer version than thats just fine - download the ZIP nevertheless
and continue below.)
Unzip the package to a temporary directory and copy the file extension\php_gd2.dll from there to
your PHP folder (C:\PHP).
Open PHP.INI in your Windows directory, find this line:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
Below that find this line:
;extension=php_gd2.dll
... and uncomment it by removing the ;
That's it! Isn't it fun to be a Windowsy while others have to compile?! ;)