【问题标题】:Heroku Push rejected, failed to compile PHP appHeroku Push 被拒绝,无法编译 PHP 应用程序
【发布时间】:2015-08-10 19:07:06
【问题描述】:

直到今天,我的项目部署到 Heroku 一直运行良好。我的作曲家文件的最后更新是在 composer.json 的类映射中包含一个 php 类。现在 Heroku 部署失败并显示此错误消息

-----> Removing .DS_Store files
-----> Fetching custom git buildpack... done
-----> PHP app detected
-----> No runtime required in composer.json, defaulting to PHP 5.6.11.
-----> Installing system packages...
     - PHP 5.6.11
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
!     Push rejected, failed to compile PHP app

我已尝试更新 composer,但更新 composer.lock 并不能解决我的问题。

任何帮助将不胜感激。

【问题讨论】:

    标签: php heroku


    【解决方案1】:

    Heroku 目前遇到问题:https://status.heroku.com/incidents/792

    别担心,不只是你!

    【讨论】:

    • 谢谢@Porbean!!我在 stackoverflow 上尝试不同的答案浪费了几个小时。
    猜你喜欢
    • 2017-04-27
    • 2014-06-07
    • 2019-10-25
    • 2013-05-01
    • 2013-03-22
    • 2017-01-17
    • 1970-01-01
    • 2019-12-24
    • 2014-02-08
    相关资源
    最近更新 更多