|
Posted by eholz1 on 12/13/06 06:16
Hello newsgroup members,
I had an install of php without gd, this seemed to work ok. I decided
I would like to use the gd package with php. I have Redhat 3.0AS, and
php 5.2.0, and gd-2.0.33. the phpinfo file looks like it has gd (shows
up in info page).
I get a failure running one of the gd functions:
Fatal error: Call to undefined function imagecreatefromjpeg() in
usr/local/apache2/htdocs/thumbnail_generator.php on line 42
That function is supposed to be ok in gd.
I assume that I must start all over. What directory should I be using
for --with-gd=/??????
I have tried the unzipped location (gd-2.0.33) where i do the
../configure, etc - the php config fails, saying it cannot find
libgd.(a|so) (which is in .libs) or at times gd.h. I have used
/usr/lib as well - seems everything fails in some form. I am using
apache 2.0. How can I remove php 5.2, and gd, and start over
"correctly".
I followed the install and readmes for both php and gd - but no luck.
Any tips or experience with help.
Thanks
ewholz
[Back to original message]
|