bananacy

Member
Mar 26, 2017
21
2
53
depends
cPanel Access Level
Website Owner
Hello,

I had to upgrade to php 7+ and noticed that Exif is not working right on SOME images.
Same image works on php5.6, i tried 7.2 but on google they said it had a bug and i updated to 7.4 today and still same.

I am using simple code to test:
$exif_info1 = @exif_read_data( "test1.jpg", 0, true );
var_dump($exif_info1);

It is not picking up the title and keywords.

any ideas?

thanks

/J
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
PHP 7.4 prior to this afternoon had an issue with GD not having JPEG enabled but I am unaware of an issue with other PHP versions. You can read about the GD issues here: PHP 7.4 Issues/Updates but if that doesn't provide any insight to the issue I would suggest opening a support ticket to have this looked into further.
 

bananacy

Member
Mar 26, 2017
21
2
53
depends
cPanel Access Level
Website Owner
That was a different issue which i also had but you fixed.. Exif issue remains for me. It's installed just doesn't read the whole file with 7.2+ i reported to it to PHP maybe they would know.

PHP 7.4 prior to this afternoon had an issue with GD not having JPEG enabled but I am unaware of an issue with other PHP versions. You can read about the GD issues here: PHP 7.4 Issues/Updates but if that doesn't provide any insight to the issue I would suggest opening a support ticket to have this looked into further.