【发布时间】:2018-01-20 09:20:18
【问题描述】:
我尝试通过 Codeship 将我的 PHP 应用程序部署到 Heroku。
Heroku 需要将ext-blackfire 添加到我的composer.json 中,这会导致composer install 的Codeship 崩溃。
The requested PHP extension ext-blackfire ~1.18 is missing from your system.
Install or enable PHP's blackfire extension.
如何在 Codeship 上安装 Blackfire 扩展?
【问题讨论】:
-
您的构建需要 blackfire 的哪些部分?如果您只需要 PHP 扩展,您可以从 blackfire.io/docs/up-and-running/installation 获取特定于版本的下载链接,然后您可以将其包含在脚本中以在构建期间下载
.so文件,并将其放入构建中的正确位置虚拟机。该脚本可能看起来类似于gist.github.com/mlocher/a1f4ef6cef5522fef00a5fe9ab302e5f,尽管我在尝试通过wget下载扩展时遇到身份验证被拒绝错误
标签: php heroku codeship blackfire