I met a Composer using problem, please help.

hi,yii friends,

I have installed composer sucessfully.

But if i use composer do any work,it will have error.

For example,use "composer update",


  The "https://packagist.org/packages.json" file could not be downloaded: php  

  _network_getaddresses: getaddrinfo failed: Name or service not known         

  failed to open stream: php_network_getaddresses: getaddrinfo failed: Name o  

  r service not known    

I have checked my configurartion. Like ssl,curl,mcrypt,all_url_fopen,all of them are opened.

Does any anybody have this problem?

h t t p s : / /github.com/composer/composer/issues/

May be here is answer of you qestion…