i m using php 4.3.. do i need to install GD libray..i m using LINUX as sever .how can i install this GD library.
one more thing
GD library 1.6 onwards does not support gif rather png..does php support this
about GD library
Moderator: General Moderators
It is recommended that use you use the GD version bundled with the PHP source, therefore you don't need to install GD.
Did you build the source yourself? or did you download a pre-built binary? If you have downloaded a pre-built binary then you can probably enable GD by uncommenting (or adding) the appropriate line in you php.ini file. If you built the source yourself then I'm assuming you did not compile with GD support.
In order to build with GD support you need to pass the '--with-gd' switch during configure. You will also require additional libraries dependant on what support you want with GD (e.g. libjpeg6b, libpng (requires zlib), freetype etc..) you will also need to pass the appropriate switches for these libs also.
GD2 does not support .gif image format, therefore a PHP installation with GD2 only will not support .gif image formats.
Did you build the source yourself? or did you download a pre-built binary? If you have downloaded a pre-built binary then you can probably enable GD by uncommenting (or adding) the appropriate line in you php.ini file. If you built the source yourself then I'm assuming you did not compile with GD support.
In order to build with GD support you need to pass the '--with-gd' switch during configure. You will also require additional libraries dependant on what support you want with GD (e.g. libjpeg6b, libpng (requires zlib), freetype etc..) you will also need to pass the appropriate switches for these libs also.
GD2 does not support .gif image format, therefore a PHP installation with GD2 only will not support .gif image formats.