You are here: Attempt to compile PHP 5.2.0 with mysql and gd (2.0.33) « PHP Programming Language « IT news, forums, messages
Attempt to compile PHP 5.2.0 with mysql and gd (2.0.33)

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация