1

由于我将我的 PHP 版本更新到 5.4,我无法在我的 symphony 2 项目中更新作曲家。

$ php composer.phar update

给我:

The "https://packagist.org/packages.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
_https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date


  [RuntimeException]
  Failed to execute git status --porcelain --untracked-files=no

  error: bad index file sha1 signature
  fatal: index file corrupt

这是屏幕截图的链接:

http://sanofuzir.com/Screen.jpg

我应该怎么办?

4

1 回答 1

2

您甚至无法在控制台上ping url。然后在这里尝试解决方案:https ://discussions.apple.com/message/10713911#10713911 只需刷新您的 DHCP 地址,它对我有用!

于 2014-03-19T13:54:16.197 回答