我试图在Windows机器上安装Laravel。
我遵循了本指南的第11点
。http://www.wikihow.com/Install-Laravel-Framework-in-Windows
我还已经运行了两个命令(从https://stackoverflow.com/a/18852026/2240163获得)
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
在这里解决方案
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命令并进行了保存!
谢谢 @mneute
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句