note 70832 added to function.imagecreatefromjpeg
| From: | hvozda at ack dot org | Date: | Mon, 30 Oct 2006 23:42:50 +0000 |
| Subject: | note 70832 added to function.imagecreatefromjpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119257@lists.php.net to get a copy of this message | ||
If imagecreatefromjpeg() fails with "PHP Fatal error: Call to undefined function:
imagecreatefromjpeg()", it does NOT necessarily mean that you don't have GD installed.
If phpinfo() shows GD, but not JPEG support, then that's the problem. You would think that
--with-gd would do the right thing since it does check for the existance of libjpeg (and finds it)
and add that feature to GD, but it doesn't in v4.4.4 at least on RHEL v2.1, RHEL v3, CentOS
v2.1 or CentOS v4.3.
On those platforms, it's *important* that --with-jpeg-dir be *before* --with-gd. If it's
not, GD won't build with jpeg support as if --with-jpeg-dir had never been specified...
----
Server IP: 64.71.164.2
Probable Submitter: 70.16.191.193
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php
Edit -- https://master.php.net/note/edit/70832
Del: integrated -- https://master.php.net/note/delete/70832/integrated
Del: useless -- https://master.php.net/note/delete/70832/useless
Del: bad code -- https://master.php.net/note/delete/70832/bad+code
Del: spam -- https://master.php.net/note/delete/70832/spam
Del: non-english -- https://master.php.net/note/delete/70832/non-english
Del: in docs -- https://master.php.net/note/delete/70832/in+docs
Del: other reasons-- https://master.php.net/note/delete/70832
Reject -- https://master.php.net/note/reject/70832
Search -- https://master.php.net/manage/user-notes.php