I created a site for a joinery where the user uploads photos of the work done by the joinery, but when the user uploads photos taken from a certain cell phone, the photos are displayed horizontally on the site, I was able to solve the problem (XAMPP), but when I upload the files to the server that my client has contracted to host the site I have the following error:
PHP Fatal error: Call to undefined function exif_read_data (), the PHP version of my XAMPP is 5.6 and the contracted server is 5.4, I do not know any other way to do this verification of image data, but I need to solve this problem , thank you in advance if anyone knows otherwise.