laravel 4.2的composor(安装/更新)错误 [英] error with composor (install / update ) with laravel 4.2

查看:87
本文介绍了laravel 4.2的composor(安装/更新)错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装基于4.2版构建的laravel模板,当我制作作曲家(安装/更新)时,作曲家仍然遇到此错误.

installed laravel template built on version 4.2 , when i make composer (install / update) I still have this error with composer .

问题1
-d11wtq/boris v1.0.10的安装请求-> d11wtq/boris [v1.0.10]可满足.
-d11wtq/boris v1.0.10需要ext-pcntl *->您的系统中缺少所请求的PHP扩展pcntl.
问题2
-d11wtq/boris v1.0.10需要ext-pcntl *->您的系统中缺少所请求的PHP扩展pcntl.
-laravel/framework v4.2.17要求d11wtq/boris〜1.0->可以通过d11wtq/boris [v1.0.10]来满足.
-laravel/framework v4.2.17的安装要求-> laravel/framework [v4.2.17]可以满足.

Problem 1
- Installation request for d11wtq/boris v1.0.10 -> satisfiable by d11wtq/boris[v1.0.10].
- d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
Problem 2
- d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/framework v4.2.17 requires d11wtq/boris ~1.0 -> satisfiable by d11wtq/boris[v1.0.10].
- Installation request for laravel/framework v4.2.17 -> satisfiable by laravel/framework[v4.2.17].

推荐答案

这是因为软件包 d11wtq/boris 需要PHP的过程控制扩展(pcntl).要安装pcntl,请使用--enable-pcntl编译PHP的CGI-或CLI版本.

This is because the package d11wtq/boris needs the Process Control Extension (pcntl) of PHP. To install pcntl compile the CGI- or CLI version of PHP with --enable-pcntl.

注意: 当前,该模块在非Unix平台(Windows)上将不起作用.

Note: Currently, this module will not function on non-Unix platforms (Windows).

所以希望您使用的是linux或mac os之类的东西.

So hopefully you use something like linux or mac os.

这篇关于laravel 4.2的composor(安装/更新)错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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