Everything seemed complete after configuring my standalone MySQL instance to a LAMP
  installation, but last night I started playing with the image
  files. It turns out that I failed to install the
  php-gd library.
  There’s very little feedback when you try to troubleshoot why you
  can’t read an image. In fact, the error message for reading the
  BLOB from MySQL was only available on the local
  Firefox browser:
      
      The image "http://localhost/ConvertMySQLBlobToImage.php" cannot be displayed because it contains errors.
     | 
  
  The fix requires root to install the
  php-gd library with the yum utility:
      yum install php-gd  | 
  
You’ll need to answer …
[Read more]