|
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]
|