简体   繁体   English

使用 laravel 4.2 的 Composor(安装/更新)错误

[英]error with composor (install / update ) with laravel 4.2

installed laravel template built on version 4.2 , when i make composer (install / update) I still have this error with composer .安装了基于 4.2 版构建的 laravel 模板,当我制作 composer (安装/更新)时,我仍然遇到 composer 错误。

Problem 1问题一
- Installation request for d11wtq/boris v1.0.10 -> satisfiable by d11wtq/boris[v1.0.10]. - d11wtq/boris v1.0.10 的安装要求 -> d11wtq/boris[v1.0.10] 可满足。
- d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system. - d11wtq/boris v1.0.10 需要 ext-pcntl * -> 您的系统中缺少请求的 PHP 扩展 pcntl。
Problem 2问题二
- d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system. - d11wtq/boris v1.0.10 需要 ext-pcntl * -> 您的系统中缺少请求的 PHP 扩展 pcntl。
- laravel/framework v4.2.17 requires d11wtq/boris ~1.0 -> satisfiable by d11wtq/boris[v1.0.10]. - laravel/framework v4.2.17 需要 d11wtq/boris ~1.0 -> d11wtq/boris[v1.0.10] 可满足。
- Installation request for laravel/framework v4.2.17 -> satisfiable by laravel/framework[v4.2.17]. - laravel/framework v4.2.17 的安装请求 -> laravel/framework[v4.2.17] 可满足。

This is because the package d11wtq/boris needs the Process Control Extension ( pcntl ) of PHP.这是因为包d11wtq/boris需要 PHP 的进程控制扩展( pcntl )。 To install pcntl compile the CGI- or CLI version of PHP with --enable-pcntl .要安装pcntl ,请使用--enable-pcntl编译pcntl或 CLI 版本的 PHP。

Note: Currently, this module will not function on non-Unix platforms (Windows).注意:目前,此模块在非 Unix 平台 (Windows) 上不起作用。

So hopefully you use something like linux or mac os.所以希望你使用像 linux 或 mac os 这样的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM