Compiling PHP with GD & JPEG support
I just recompiled PHP for the first time with GD support and it all went (surprisingly) smoothly. The only problem is I can't seem to get GD to support JPEGs. This is my configure command:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd' '--enable-exif' '--with-mysql=/usr' '--enable-discard-path' '--without-pear' '--enable-sockets' '--disable-short-tags' '--enable-versioning' '--with-zlib' '--with-gd' '--with-ttf' '--with-jpeg' '--with-jpeg-dir=/usr/lib'
Any ideas?