You are here: jpeg support in 5.0.4, (and libs) « PHP Programming Language « IT news, forums, messages
jpeg support in 5.0.4, (and libs)

Posted by B Squared on 10/19/05 00:27

I recently installed PHP 5.0.4 on my Fedora system. I compiled in the GD
option. (--with-gd). Then I tested the ImageTypes() function. It
seems .png and .gif (IMG_PNG and IMG_GIF) are supported, but jpeg
(IMG_JPEG) is not. Is this expected? How do I get .jpeg support?

-- segway --

Out of curiousity, I checked the php-config file in my ../php/bin dir
and here is the libs that are listed:

libs="-lcrypt -lcrypt -lmysqlclient -lpng -lz -lz -lresolv -lm -ldl
-lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz
-lm -lcrypt "

-lz is listed 6 times, -lcrypt 4 times, -lm 3 times, etc.

Is this really how it should be? I'm guessing listing the libs so many
times doesn't do any harm, but what's the point?

B Squared

-----------------------------------------------------------------------
By and large gentlemen believe in God because, by and large, they are
confident that God believes in them.
-- Douglas Sutherland, The English Gentleman

 

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

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