Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/10.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 我在安装laravel时遇到问题_Php_Laravel - Fatal编程技术网

Php 我在安装laravel时遇到问题

Php 我在安装laravel时遇到问题,php,laravel,Php,Laravel,我在安装laravel时遇到问题。我遵循了前两种方法,(composer global require“laravel/installer=~1.1”)和(composer create project laravel/laravel--preference dist),但都失败了。 我猜在浏览论坛后,我需要输出我的结果,以便撰写诊断 Checking platform settings: OK Checking git settings: OK Checking http connectivi

我在安装laravel时遇到问题。我遵循了前两种方法,
(composer global require“laravel/installer=~1.1”)和(composer create project laravel/laravel--preference dist)
,但都失败了。 我猜在浏览论坛后,我需要输出我的结果,以便撰写诊断

Checking platform settings: OK
Checking git settings: OK
Checking http connectivity: OK
Checking HTTP proxy: OK
Checking HTTP proxy support for request_fulluri: FAIL
Unable to assert the situation, maybe packagist.org is down (The "http://packagist.org/packages.json" file could not be downloaded (HTTP/1.0 400 Bad Request))
Checking HTTPS proxy support for request_fulluri: OK
Checking disk free space: OK
Checking composer version: OK
  • 我想知道为什么我不能用这两种方法安装laravel
  • 我正在使用代理。对但我不知道reques_fulluri的意思和作用

  • 它失败是因为您无法获取文件。您无法获取文件,因为您无法访问packagist.org。您无法访问packagist.org,因为您的代理无法看到它。我也尝试过sudo-E。。。。。。。但它无法下载。我如何绕过代理。这是我的错误