2014-11-06 57 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