2014-11-06 54 views
2

我试图在Windows机器上安装Laravel。
我遵循这个指南可达点11
http://www.wikihow.com/Install-Laravel-Framework-in-Windows在代理后面安装Laravel

我也跑了两个命令已经(这是我从https://stackoverflow.com/a/18852026/2240163 GOT)

set http_proxy=<your_http_proxy:proxy_port>
set https_proxy=<your_https_proxy:proxy_port>

但在运行composer install我很满足留言

C:\wamp\www\LARAVEL>composer install 
    Loading composer repositories with package information 

    [Composer\Downloader\TransportException] 
    The "https://packagist.org/packages.json" file could not be downloaded: SSL 
    : The specified procedure could not be found. 

    failed to open stream: Cannot connect to HTTPS server through proxy 

我怎样才能通过代理安装Laravel 4.


在这里,奠定了解决方案

C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******@192.168.20.4:8080 
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******@192.168.20.4:8080 

然后我又跑了install composer命令和急! https://stackoverflow.com/a/24958700/2240163
感谢@mneute

+1

我认为它是因为它无法连接到https使用代理可以试试这个[作曲家在防火墙后面](http://stackoverflow.com/questions/17307600/php -composer-behind-http-proxy) – 2014-11-07 03:21:47

+0

没问题! 我很高兴我能帮上忙。 – mneute 2014-11-07 15:07:57

回答

1

在这里,奠定了解决方案

C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******@192.168.20.4:8080 C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******@192.168.20.4:8080

我然后再次运行安装作曲家指挥和急!

https://stackoverflow.com/a/24958700/2240163

感谢@mneute