首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Sylius

安装Sylius
EN

Stack Overflow用户
提问于 2013-09-17 08:34:52
回答 3查看 2.9K关注 0票数 0

我在安装Sylius。在我的命令提示符下

代码语言:javascript
复制
composer create-project -s dev sylius/sylius

我收到以下错误消息:

代码语言:javascript
复制
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].

我试过的是:

  1. php composer.phar self update
  2. php composer.phar install
  3. 删除sylius目录
  4. 使用create-project命令重新安装sylius
  5. Symfony 2.3.4的新安装和sylius的重新安装
  6. 做了第一个答案中所说的事情:启用分机curl和intl
  7. 使用函数get_loaded_extension()来确认是否加载了curl和intl。嗯,它已经装好了
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2013-12-25 18:00:48

WAMP有两个php.ini文件,一个用于apache,一个用于CLI。当您单击php模块中的WAMP托盘图标时,只能看到为apache启用了模块,因此启用和禁用模块只对php.ini的apache副本生效。

尝试在curlintl中启用X:\path\to\wamp\bin\php\php.ini,这是CLI的配置(BTW )。apache的配置放在X:\path\to\wamp\bin\apache\bin\php.ini中)。

票数 1
EN

Stack Overflow用户

发布于 2013-09-17 09:02:20

看起来,您需要安装两个PHP扩展才能完成这项工作:curlintl (它提供symfony/icu所需的lib-icu )。由于您使用的是Windows,因此我建议如何在Windows系统上安装扩展。您可以在PECL存储库这里中找到这里扩展。

curl应该已经安装在您的WAMP上了,但是默认情况下是禁用的。有关如何启用它的说明,请参见这个问题的顶部答案。

票数 1
EN

Stack Overflow用户

发布于 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:install
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18845001

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档