Change PHP Version in Custom Build?

justinds

New member
Joined
Aug 17, 2009
Messages
1
Change PHP Version in Custom Build / Jpeg Error

in the custom build, can i change the php version to something besides the latest of 4 or 5? i want 5.2.8 because there is a bug that i am trying to get rid of that dosn't exist in 5.2.8, and right now its installing 5.2.10.

is it possible to change the version in custombuild?

here is the bug i am experiencing, maybe someone can offer an insight into that too:
when i try to use:
Code:
imagecreatefromjpeg($filename)
i get this error:
Code:
gd-jpeg: JPEG library reports unrecoverable error: in filename.

I have GD 2.0.34 installed with PHP 5.2.10, and when i print gd_info(), it says [JPG Support] => 1 just as PNG and GIF support, but only JPG won't work!

I have been through every possible article that google gives me about this error with no success.

i tried setting this in php.ini, with no effect:
Code:
gd.jpeg_ignore_warning = 1

I tried installing GD 2.0.36 manually to overwrite the other GD = no change

I tried installing GD 2.0.36 manually to another location and specifying that location when i configure php, which resulted in a different error:
Code:
filename is not a valid JPEG file

I tried manually installing libjpeg and specifying that manually when i configured php = no change

Does anyone know how to fix this?
 
Last edited:
Back
Top