更新供应商Symfony2 [英] Updating Vendors Symfony2

查看:64
本文介绍了更新供应商Symfony2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我使用存档下载并安装了Symfony2,但是在供应商更新期间遇到了问题。
在我的主要文件夹Symfony中,我运行命令 php composer.phar install ,但遇到以下错误

Hi I donwloaded and installed Symfony2 using the archive but I had a problem during the vendor's updating. In my principal folder Symfony I run the command php composer.phar install but I obtained the following error

使用软件包信息
加载composer信息库从锁定文件
安装依赖项(包括require-dev)无法将您的要求解决为一组可安装的软件包。

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.

问题1

-sensiolabs / security-checker v2.0.0需要ext-curl *->系统中缺少所请求的PHP扩展curl。

-sensiolabs / security-checker v2.0.0需要ext-curl *->您的系统中缺少所请求的PHP扩展curl。

-sensiolabs / security-checker v2.0.0的安装请求-> sensiolabs /可以满足security-checker [v2.0.0]。

Problem 1
- sensiolabs/security-checker v2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- sensiolabs/security-checker v2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for sensiolabs/security-checker v2.0.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].

我该怎么办?

推荐答案

您需要安装curl:

sudo apt-get install php5-curl

然后您需要重新启动r网络服务器

Then you need to restart your web-server

这篇关于更新供应商Symfony2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆