title: PHP's exif_read_data() function causes 500 server error
body: <p>For some reason my production server is giving me a 500 server error when running the exif_read_data() function on a jpg image. I have verified that the image is indeed a jpg, exists, and has proper permissions. The function works perfectly on my localhost machine.</p>
  
  <p>What could possibly cause this error?</p>
  
  <p>The server is running PHP 5.3.17, my localhost is running 5.3.8, but I doubt that should make a difference.</p>
  
  <p>Thank you.</p>
  
  <p>EDIT: my simple code.</p>
  
  <pre><code>error_reporting(E_ALL);
  $path = '/home/user/staging/files/image.jpg';
  $exif = exif_read_data($path);
  var_dump($exif);
  </code></pre>