由于我将我的 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
我应该怎么办?