[email protected] Posted August 17, 2009 Share Posted August 17, 2009 when i try to use: imagecreatefromjpeg($filename) i get this error: 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: 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: 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? Link to comment https://forums.phpfreaks.com/topic/170602-php-gd-jpeg-error/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.