我在安装Sylius。在我的命令提示符下
composer create-project -s dev sylius/sylius我收到以下错误消息:
C:\wamp\www\Symfony>composer create-project -s dev sylius/sylius
Installing sylius/sylius (dev-master 18d981683430c0afd1a102b6fc67f8ffeaabddc0)
- Installing sylius/sylius (dev-master master)
Cloning master
Created project in C:\wamp\www\Symfony\sylius
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/icu 1.2.x-dev -> satisfiable by symfony/icu[1.2.x-dev].
- symfony/icu 1.2.x-dev 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
- Installation request for instaclick/php-webdriver 1.0.x-dev -> satisfiable by instaclick/php-webdriver[1.0.x-dev].
- instaclick/php-webdriver 1.0.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 3
- Installation request for instaclick/php-webdriver dev-master -> satisfiable by instaclick/php-webdriver[dev-master].
- instaclick/php-webdriver dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 4
- symfony/icu 1.2.x-dev 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 2.3.x-dev requires symfony/icu ~1.0 -> satisfiable by symfony/icu[1.2.x-dev].
- Installation request for symfony/symfony 2.3.x-dev -> satisfiable by symfony/symfony[2.3.x-dev].我试过的是:
php composer.phar self updatephp composer.phar install发布于 2013-12-25 18:00:48
WAMP有两个php.ini文件,一个用于apache,一个用于CLI。当您单击php模块中的WAMP托盘图标时,只能看到为apache启用了模块,因此启用和禁用模块只对php.ini的apache副本生效。
尝试在curl和intl中启用X:\path\to\wamp\bin\php\php.ini,这是CLI的配置(BTW )。apache的配置放在X:\path\to\wamp\bin\apache\bin\php.ini中)。
发布于 2013-09-17 09:02:20
看起来,您需要安装两个PHP扩展才能完成这项工作:curl和intl (它提供symfony/icu所需的lib-icu )。由于您使用的是Windows,因此我建议如何在Windows系统上安装扩展。您可以在PECL存储库这里中找到这里扩展。
curl应该已经安装在您的WAMP上了,但是默认情况下是禁用的。有关如何启用它的说明,请参见这个问题的顶部答案。
发布于 2017-09-18 09:55:23
Sylius现在已经发布了最新版本v1.0.0,我在一个博客中介绍了这个版本来安装它。以下是来源:https://www.cloudways.com/blog/install-sylius-ecommerce-framework/
您只需在SSH中运行以下凸轮,否则将安装终端Sylius
$ composer create-project -s beta sylius/sylius-standard project$ cd project$ npm install$ npm run gulp$ bin/console sylius:installhttps://stackoverflow.com/questions/18845001
复制相似问题