exif_read_data() is not working with my server. I have tried with changing the order of these lines and restarted my apache,
1 extension=php_exif.dll
2 extension=php_mbstring.dll
and contacted the server provider and they say that they have enabled the exif extension but the function is not working for me.
I have also tried with printing the phpinfo()
but it contains nothing related to exif.
So is there any alternative to read the orientation and rerotate the image?
Or can we do something to prevent the rotation of the image during upload
Thanks