首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Heroku -如何在heroku php应用程序上启用gd?

Heroku -如何在heroku php应用程序上启用gd?
EN

Stack Overflow用户
提问于 2014-12-09 21:42:43
回答 2查看 13K关注 0票数 27

赫罗库说:

以下内置扩展已经构建为“共享”,可以通过composer.json (括号中给出的内部标识符名称)启用:

但它没有给出示例,我尝试使用以下composer.json:{ "require": { "gd": "*" } }

但是当我使用git push heroku master时,我会得到:

My composer.json:{ "require": { "gd": "*" } }

但是当我使用git push heroku master时,我会得到:

-----> 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 <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

       Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

 !     Push rejected, failed to compile PHP app

如何在heroku上启用gd?

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27380365

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档