note 29777 added to function.imagecreatefromjpeg
| From: | Jpsy at rack1 dot php dot net | Date: | Mon, 24 Feb 2003 22:23:57 +0000 |
| Subject: | note 29777 added to function.imagecreatefromjpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44461@lists.php.net to get a copy of this message | ||
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?! ;)
--
http://www.php.net/manual/en/function.imagecreatefromjpeg.php
http://master.php.net/manage/user-notes.php?action=edit+29777
http://master.php.net/manage/user-notes.php?action=delete+29777
http://master.php.net/manage/user-notes.php?action=reject+29777