Weirdness, serendipity is the only place I see this problem and get errors
There is only one version of libjpeg on the system, php and gd both refere to it.
php - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
libgd.so.3.0.11 - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1382
PHP Warning: imagecreatefromjpeg(): '/pth/to/file.jpg' is not a valid JPEG file <-(yes, it is)
PHP Warning: imagesx() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1387
PHP Warning: imagesy() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1388
PHP Warning: imagecopyresampled() expects parameter 2 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1410
PHP Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1413
Any Ideas on what this caller is and why it expects a version thats not, nor ever has been on this system?
Ta
Wrong JPEG library version
Re: Wrong JPEG library version
I think I see the issue (isn't it always the way, you find it after your frustration makes you post to a mailing list or forum, then the light shines down)
php 7.4 (at least) includes the bundled gd when building DESPITE being told --with-external-gd
that rant is for another forum
php 7.4 (at least) includes the bundled gd when building DESPITE being told --with-external-gd
that rant is for another forum
Re: Wrong JPEG library version
:D Interesting nonetheless, good luck!