TimeOut通过http代理连接到symfony.com [英] TimeOut connection to symfony.com via http proxy

查看:333
本文介绍了TimeOut通过http代理连接到symfony.com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新工作,新问题:)

我想使用Symfony在PHP中编写一个新的Webapp。我的电脑运行Windows 10,所有的HTTP请求必须通过运行Squid的代理。

I would like to write a new Webapp in PHP using Symfony. My PC runs Windows 10 and all HTTP-Requests have to go via a proxy running Squid.

通过浏览器访问网络和下载文件但是连接到互联网是很慢的。

Accessing the web and downloading files via Browser (eg. IE) works fine, but the connection to the Internet is quite slow.

所以我从IE导入所有我的proxysetting从Windows

So I imported all my proxysetting from IE to Windows by


netsh winhttp import proxy source = ie

netsh winhttp import proxy source=ie

现在如果我想要创建一个新的Symfony应用程序, / p>

Now if I want to create a new Symfony app by


php symfony.phar new hellosymf

php symfony.phar new hellosymf



<我只获得

I only get


[GuzzleHttp\Ring\Exception\ConnectException] cURL错误7:无法
连接到symfony .com端口80:超时

[GuzzleHttp\Ring\Exception\ConnectException] cURL error 7: Failed to connect to symfony.com port 80: Timed out

任何想法如何解决这个问题?

Any idea how to fix this? Can I increase the timeout-value?

推荐答案

您可以更新作曲家并重新创建应用程序吗?

Can you update you composer and recreate your application ?

这篇关于TimeOut通过http代理连接到symfony.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆