note 32781 added to function.imagecreatefromjpeg
| From: | erwinpogz at yahoo dot com | Date: | Fri, 06 Jun 2003 18:06:54 +0000 |
| Subject: | note 32781 added to function.imagecreatefromjpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49898@lists.php.net to get a copy of this message | ||
if you get an error like: PHP Fatal error: Call to undefined function: imagecreatefromjpeg() ...
after compiling php4.3.1 with GD.. heres the solution,
you should compile php with zlib, GD and jpeg.. of course you need to install its libraries.
Heres my configure line.
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib --with-gd --with-jpeg-dir=/usr/lib
--with-mysql --with-imap --with-kerberos --with-imap-ssl
--enable-track-vars
-erwin
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32781
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32781&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32781&report=yes