我无法在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
答案 0 :(得分:0)
您缺少正在部署的系统中的lib-icu
软件包。这是一个非常常见的问题,您需要在服务器层解决,而不是在应用程序中解决。
有一个专门用于解决此问题的手册页:http://symfony.com/doc/current/components/intl.html