[英]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.