本文介紹了我如何解決“l(fā)aravel/horizo??n v1.1.0 requires ext-pcntl * ->您的系統(tǒng)中缺少請(qǐng)求的 PHP 擴(kuò)展 pcntl"?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!
問(wèn)題描述
當(dāng)我在命令提示符上運(yùn)行 composer install
時(shí),存在這樣的錯(cuò)誤:
When I run composer install
on command promp, there exist error like this :
Problem 1
- Installation request for laravel/horizon v1.1.0 -> satisfiable by laravel/horizon[v1.1.0].
- laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- C:xampp-7.1phpphp.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
我該如何解決這個(gè)錯(cuò)誤?
How can I solve this error?
推薦答案
使用 --ignore-platform-reqs
選項(xiàng)運(yùn)行 composer 并指定 pcntl
和 posix
Run composer with the --ignore-platform-reqs
option and specify pcntl
and posix
composer install --ignore-platform-reqs
這篇關(guān)于我如何解決“l(fā)aravel/horizo??n v1.1.0 requires ext-pcntl * ->您的系統(tǒng)中缺少請(qǐng)求的 PHP 擴(kuò)展 pcntl"?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!