TimeOut connection to symfony.com via http proxy

旧巷老猫 提交于 2020-01-14 01:34:01

问题


New job, new problems:)

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.

So I imported all my proxysetting from IE to Windows by

netsh winhttp import proxy source=ie

Now if I want to create a new Symfony app by

php symfony.phar new hellosymf

I only get

[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?


回答1:


Can you update you composer and recreate your application ?



来源:https://stackoverflow.com/questions/35360073/timeout-connection-to-symfony-com-via-http-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!