无法使用composer安装symfony项目

时间:2015-01-17 13:04:26

标签: php symfony composer-php

我正在尝试使用composer安装symfony。我使用以下命令

sudo composer create-project symfony/framework-standard-edition /var/www/html/infinite-jest

但我收到以下错误

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sensio/distribution-bundle v3.0.12 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.13 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.14 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.15 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensiolabs/security-checker v2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for sensio/distribution-bundle ~3.0.12 -> satisfiable by sensio/distribution-bundle[v3.0.12, v3.0.13, v3.0.14, v3.0.15].

我做错了什么,我该怎么做?

1 个答案:

答案 0 :(得分:4)

您的系统中似乎没有安装curl或php curl扩展程序。 现在建议使用新的installer用于symfony