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.imagecreatefr
omjpeg.php
Edit -- https://master
.php.net/note/edit/70832
Del: integrated -- h
ttps://master.php.net/note/delete/70832/integrated
Del: useless -- http
s://master.php.net/note/delete/70832/useless
Del: bad code -- htt
ps://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 -- http
s://master.php.net/note/delete/70832/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70832
Reject -- https://mast
er.php.net/note/reject/70832
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|