Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 当我尝试安装代客泊车和作曲家时,我收到此消息。安装失败,将./composer.json还原为其原始内容_Php_Laravel_Composer Php_Valet - Fatal编程技术网

Php 当我尝试安装代客泊车和作曲家时,我收到此消息。安装失败,将./composer.json还原为其原始内容

Php 当我尝试安装代客泊车和作曲家时,我收到此消息。安装失败,将./composer.json还原为其原始内容,php,laravel,composer-php,valet,Php,Laravel,Composer Php,Valet,我想让贴身男仆工作,但当我跑的时候 composer global require cretueusebiu/valet-windows 我得到这个错误: 无法将您的需求解析为可安装的软件包集。安装失败,将./composer.json还原为其原始内容 以下是完整的输出: C:\Users\Shadow\Desktop λ composer global require cretueusebiu/valet-windows Changed current directory to C:/Use

我想让贴身男仆工作,但当我跑的时候

composer global require cretueusebiu/valet-windows
我得到这个错误:

无法将您的需求解析为可安装的软件包集。安装失败,将./composer.json还原为其原始内容

以下是完整的输出:

C:\Users\Shadow\Desktop
λ composer global require cretueusebiu/valet-windows
Changed current directory to C:/Users/Shadow/AppData/Roaming/Composer
Using version ^2.1 for cretueusebiu/valet-windows
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cretueusebiu/valet-windows 2.1.0 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - cretueusebiu/valet-windows 2.1.1 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
    - nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for cretueusebiu/valet-windows ^2.1 -> satisfiable by cretueusebiu/valet-windows[2.1.0, 2.1.1].

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\php7\php.ini
  You can also run `PHP --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, reverting ./composer.json to its original content.

错误信息非常清楚<代码>代客泊车窗口取决于
nategood/httpful
。列出的每个版本的
nategood/httpful
都取决于您的系统所没有的:

nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
curl
可能随您安装的PHP版本一起提供,启用它可能只需要取消注释

;extension=php_curl.dll
php.ini
中,删除前导的


请参阅。

您试图解决这个问题的方法是什么?那个错误消息告诉你什么?