title: Php GD not working for a simple test
body: <p>Php GD sometimes works and sometimes it doesn't!</p>
  
  <p>I'm using a simple test and still getting the error message.</p>
  
  <p>Code in test.php :</p>
  
  <pre><code>&lt;?php
  header('Content-type: image/png');
  $x = 50; 
  $y = 100; 
  $image = imagecreatetruecolor($x,$y);
  imagepng($image);
  imagedestroy($image); 
  ?&gt;
  </code></pre>
  
  <p>Code in gdtest.php:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;img src="test.php"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>GD Support  is enabled, and im using GD Version bundled (2.1.0 compatible) </p>
  
  <p>Can you help please?</p>