【问题标题】:How can I use this heroku php buildpack?我怎样才能使用这个heroku php buildpack?
【发布时间】:2013-06-02 13:31:32
【问题描述】:

我正在尝试使用https://github.com/taeram/heroku-buildpack-php-columbo,以便我可以让 NEW RELIC 在我的 PHP 安装上工作。无论我尝试什么,推送到heroku时总是出现以下错误:

git push heroku master
Counting objects: 8, done.
Delta compression using up to 24 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (8/8), 1.58 KiB, done.
Total 8 (delta 0), reused 0 (delta 0)

-----> Fetching custom git buildpack... done
-----> PHP app detected
-----> Fetching Manifest
-----> Bundling Apache v2.2.24
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

 !     Push rejected, failed to compile PHP app

有人对这里可能发生的事情有任何想法吗?我可以毫无问题地成功使用https://github.com/heroku/heroku-buildpack-php。我想做的就是在 php/apache 旁边有 NEW RELIC 支持。

【问题讨论】:

    标签: php heroku newrelic buildpack


    【解决方案1】:

    快速浏览一下构建包,$BUILDPACK_S3_BUCKET 似乎没有设置在when downloading Apache 的任何位置,这显然会导致does not look like a tar archive 的某些内容(很可能是S3 XML 错误页面)。我要么向这个第三方 buildpack 的所有者提出问题,要么自己分叉并修复它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-14
      • 2014-01-05
      • 1970-01-01
      • 2022-01-11
      • 1970-01-01
      相关资源
      最近更新 更多