When I'm going to download and install Symfony with the following console command:
php -r "readfile('http://symfony.com/installer');" > symfony
... I get the following error:
php_network_getaddresses: getaddrinfo failed: Unknown host. failed to open stream: php_network_getaddresses: getaddrinfo failed: Unknown host.
Why is this happening and how do I solve it?