I've to work with Symfony2 and so I've to use Composer.
I'm working on a Windows 7 PC with WampServer 2.5.
At first the setup file from http://getcomposer.org can't install Composer because of the proxy (I presume). So I've downloaded direclty the latest composer.phar and try to execute the commands with
php composer.phar
Then I try to install Symfony2 :
C:/wamp/www>php composer.phar create-project symfony/framework-standard-edition Symfony/ "2.3.*"
And I have this exception :
php_network_getaddresses: getaddrinfo failed: unkown host
I found some solutions here : Composer cannot download files
like using :
SET HTTP_PROXY=http://proxyadress:8080 && php composer.phar create-project symfony/framework-standard-edition Symfony/ "2.3.*"
(the network admin says me that there is no username and no pass...)
but I always have the same error.
I try some variations (without the port, with lowercases, etc.).
I'm sorry if the question is already answered somewhere, I didn't find any solution.
Thanks if you have an idea !