2013-11-14 2 views
1

내가 수행하려고 할 때 : sylius 프로젝트를 만들 때 작곡가의 설치 요청 오류가 발생합니까?

composer create-project -s dev sylius/sylius:dev-master

나는 다음과 같은 오류가 나타납니다 당신이 PHP 컬 확장을 누락하는 경우

Installing sylius/sylius (dev-master 0da3c0022d3118135e56908dfa4c69e6699770ce) 
    - Installing sylius/sylius (dev-master master) 
    Cloning master 

Created project in 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 fabpot/goutte v1.0.3 -> satisfiable by fabpot/goutte[v1.0.3]. 
    - fabpot/goutte v1.0.3 requires ext-curl * -> the requested PHP extension curl is missing from your system. 
    Problem 2 
    - Installation request for instaclick/php-webdriver 1.0.17 -> satisfiable by instaclick/php-webdriver[1.0.17]. 
    - instaclick/php-webdriver 1.0.17 requires ext-curl * -> the requested PHP extension curl is missing from your system. 
    Problem 3 
    - fabpot/goutte v1.0.3 requires ext-curl * -> the requested PHP extension curl is missing from your system. 
    - behat/mink-goutte-driver v1.0.9 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[v1.0.3]. 
    - Installation request for behat/mink-goutte-driver v1.0.9 -> satisfiable by behat/mink-goutte-driver[v1.0.9]. 

답변

10

이 오류가 발생합니다. 일부 sylius 의존성은 그 확장에 의존합니다.

이 오류를 해결하려면 php-curl 확장을 설치하고 활성화하십시오. apt-get을 가진

:

sudo apt-get install php5-curl

또는이 따르

http://php.net/manual/en/curl.installation.php

0

minimum-stability 옵션 파일 composer.json 에 추가합니다.

{ 
    "require": { 
     "php-ews/php-ews": "dev-master" 
    }, 
    "minimum-stability": "dev" 
} 
관련 문제