title: Heroku - how to enable gd on heroku php application?
body: <p>Heroku said: </p>
  
  <blockquote>
    <p>The following built-in extensions have been built “shared” and can be enabled through composer.json (internal identifier names given in parentheses):</p>
  </blockquote>
  
  <p>But it doesn't give an example, I tried with the following composer.json:
  <code>
  {
      "require": {
          "gd": "*"
      }
  }
  </code></p>
  
  <p>But when I <code>git push heroku master</code>, I get:</p>
  
  <blockquote>
    <p>My composer.json:
    <code>
    {
        "require": {
            "gd": "*"
        }
    }
    </code></p>
  </blockquote>
  
  <p>But when I <code>git push heroku master</code>, I get:</p>
  
  <pre><code>-----&gt; Installing dependencies...
         Composer version 1.0.0-alpha9-19-g10401d5 2014-12-09 11:32:02
         Loading composer repositories with package information
         Installing dependencies
         Your requirements could not be resolved to an installable set of packages.
  
           Problem 1
             - The requested package gd could not be found in any version, there may be a typo     in the package name.
  
         Potential causes:
          - A typo in the package name
          - The package is not available in a stable-enough version according to your minimum-    stability setting
            see &lt;https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion&gt; for more details.
  
         Read &lt;http://getcomposer.org/doc/articles/troubleshooting.md&gt; for further common problems.
  
   !     Push rejected, failed to compile PHP app
  </code></pre>
  
  <p>How can I enable gd on heroku???</p>