gd jpeg

#1
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

But why jpeg not works? how install it? when i configure php ir write --with-gd, but jpeg support was not installed.

help!
 

xing

LiteSpeed Staff
#6
Code:
yum install libjpeg-devel libpng-devel
Most likely you will need both jpeg and png libs for php gd to compile properly.

Performance tip: if you are going to process lots of large images, don't use GD and use imagemagick instead. Reason: GD will use tons of memory for even simple operations.
 

xing

LiteSpeed Staff
#10
You need to get very comfortable with the "apt-get" command in debian os. Look at the man pages for it. You need it a lot.

"apt-get install libpng2-dev libjpeg-dev"
 
#11
ns:~# apt-get install libpng2-dev
Reading package lists... Done
Building dependency tree... Done
Package libpng2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libpng2-dev has no installation candidate

ns:~# apt-get install libjpeg-dev
Reading package lists... Done
Building dependency tree... Done
Note, selecting libjpeg62-dev instead of libjpeg-dev
libjpeg62-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.



wtf?
 
Top