title: Exif image properties not getting not server
body: <p>I'm using <code>ImageMagick</code> to display image details in <code>zf2</code> project.</p>
  
  <p>It is displaying all image properties on my local Ubuntu machine. But EXIF image properties are not displayed on the live RedHat server. </p>
  
  <p>Is it due to some wrong server config or PHP config?</p>
  
  <p>I'm using the following code:</p>
  
  <pre><code>if (is_file(SHARED_PATH . $fileURL)) {
      /* Create the object */
      $im = new \Imagick(SHARED_PATH . $fileURL);
  
      /* Get the EXIF information */
      $fileDetails = $im-&gt;getImageProperties();
  
      /* Loop trough the EXIF properties */
      /* foreach ($fileDetails as $name =&gt; $property)
      {
          echo "{$name} =&gt; {$property}&lt;br /&gt;\n";
      } */
      $fileType = image_type_to_mime_type(exif_imagetype(SHARED_PATH . $fileURL));
      $fileSize = number_format($im-&gt;getImageSize() / (1024 * 1024), 2) . 'MB';
  }
  </code></pre>