1

我最近开始学习 ZendFramework2 并且正处于我需要运行php composer.phar install以初始化骨架应用程序的部分。我已经成功执行了以下指令:

git clone git://github.com/zendframework/ZendSkeletonApplication.git

我知道我有良好的出站连接。当我到达需要安装作曲家的部分时,就会出现问题。我得到以下输出:

rt_zapzap@zingzing1:/var/www/ZendApp$ composer install
Loading composer repositories with package information
Installing dependencies
- Installing zendframework/zendframework (2.2.0rc3)
Downloading: connection...
[Composer\Downloader\TransportException]
The "https://api.github.com/repos/zendframework/zf2/zipball/release-2.2.0rc3" file could not be downloaded (HTTP/1.0 400 Bad Request)



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-    installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]

供参考,我的composer.json样子

{
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "homepage": "http://framework.zend.com/",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": ">2.2.0rc1"
    }
}

知道我可以在哪里解决这个问题吗?

4

0 回答 0