I banged my head for more than 5 hours on this one and finally resolved. Hope this helps someone. If your PHP page stops executing or gives a fatal error while using exif_read_data() function or any other exif function, there is a fair possibility that exif is not installed - even though it might show in the… Continue reading exif_read_data() not defined – crashes page on linux