Recompilse GD for PHP

apps

#1

It’s possible to recompile GD for PHP in one of my domains?

I know I can use my own PHP and I’m getting a error when parsing some jpeg images taken from cellphones. This bug in GD is already known and the proposed solution is explained there (what to do in GD source):

http://www-personal.umd.umich.edu/~dennismv/corruptjpeg.html
http://www.nickberry.com/howto/corrupt-jpeg-extraneous-bytes-before-marker.txt

So, I need to know if is possible to recompile GD and apply it in my own PHP.

Thanks.


#2

GD is a library that must be compiled into your own PHP. This is possible, as you’ve already hinted at.

-Scott