[英]Symfony on heroku fail to install packages on push
我無法在heroku上推送我的項目,因為該項目由於軟件包而無法構建。 誰能幫我使這個工作。 我試圖將其添加到我的composer.json "ext-intl": "*"
謝謝你的幫助!
Pushing to git@heroku.com:myproject.git
Initializing repository, done.
-----> Fetching custom git buildpack... done
-----> PHP app detected
-----> Resolved composer.lock requirement for PHP >=5.3.3 to version 5.6.1.
-----> Installing system packages...
- PHP 5.6.1
- Apache 2.4.10
- Nginx 1.6.0
-----> Installing PHP extensions...
- zend-opcache (automatic; bundled, using 'ext-zend-opcache.ini')
-----> Installing dependencies...
Composer version 73e9db5d9952d52a46ecbc20a269a8c5f9c5b011 2014-10-07 15:03:19
Loading composer repositories with package information
Installing dependencies from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/icu v1.2.1 -> satisfiable by symfony/icu[v1.2.1].
- symfony/icu v1.2.1 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
Problem 2
- symfony/icu v1.2.1 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- symfony/symfony v2.4.3 requires symfony/icu ~1.0 -> satisfiable by symfony/icu[v1.2.1].
- Installation request for symfony/symfony v2.4.3 -> satisfiable by symfony/symfony[v2.4.3].
! Push rejected, failed to compile PHP app
您在要部署的系統中缺少lib-icu
軟件包。 這是一個非常普遍的問題,您需要在服務器層而不是在應用程序中解決。
有一個專門的頁面用於處理此問題: http : //symfony.com/doc/current/components/intl.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.