[bug-notifications] [php5_gd 0004374]: imagecreatefromjpeg(): './photo9.jpg' is not a valid JPEG
Mantis Bug Tracker
noreply at opencsw.org
Sun Jan 29 16:18:55 CET 2012
The following issue requires your FEEDBACK.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4374
======================================================================
Reported By: i5mast
Assigned To: bwalton
======================================================================
Project: php5_gd
Issue ID: 4374
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2010-03-26 15:38 CET
Last Modified: 2012-01-29 16:18 CET
======================================================================
Summary: imagecreatefromjpeg(): './photo9.jpg' is not a valid
JPEG
Description:
I've just moved from a stable CSW branch to current. I'm receiving the
following error as a result.
-bash-3.00$ cat t.php
<?
$img = imageCreateFromJpeg('./photo9.jpg');
?>
-bash-3.00$ php t.php
gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library
version: library is 62, caller expects 70
PHP Warning: imagecreatefromjpeg(): './photo9.jpg' is not a valid JPEG
file in /export/home/webdev/t.php on line 2
Warning: imagecreatefromjpeg(): './photo9.jpg' is not a valid JPEG file in
/export/home/webdev/t.php on line 2
-bash-3.00$ php -version
PHP 5.2.9 (cli) (built: May 6 2009 21:48:48)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
It looks like php gd extension was compiled against a different gd library.
======================================================================
----------------------------------------------------------------------
(0009560) bwalton (administrator) - 2012-01-29 16:18
https://www.opencsw.org/mantis/view.php?id=4374#c9560
----------------------------------------------------------------------
This should be resolved with the latest package set. Can you confirm this?
More information about the bug-notifications
mailing list