This question pertains to Debian, and I'm compiling everything from source.
So I've got GD compiling just fine, and it seems just fine with PNG and JPEG support. In the beginning of the ./configure script, it states that JPEG support is enabled and PNG support is enabled along with a few other things. The configure, make and make install all go fine. I then compile PHP5 with some like this:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-jpeg --with-gd --with-zlib
It also configures, make and installs perfectly, without warnings, errors etc. The build works great and PHP runs fine. However, when I view phpinfo(), under the GD section, there is no JPEG support. GIF support is enabled along with PNG and others, but no mention of JPEG. I also tried some of the JPEG specific GD functions, none work, all come back undefined. PNG and GIF functions work fine.
I did notice that when make installing GD, that there was no mention of any jpeg programs being installed. There were png and gif programs being installed, but again, it stated that JPEG support was there. I've been trying to get GD with JPEG support working for quite some time now. This is the farthest I've gotten.
Any tips? Thanks.
Trouble enabling JPEG support in GD (PHP5)
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users