TimeOut connection to symfony.com via http proxy

2019-05-28 14:16发布

问题:

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 ?