祥龙云网络科技有限公司 2015-12-18 20:51:41 3410次浏览 1条回复 0 0 0
F:\ecshop\advanced>php -r "readfile('https://getcomposer.org/installer');" | php

PHP Warning:  readfile(): SSL operation failed with code 1. OpenSSL Error messag
es:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d in Command line code on line 1
PHP Warning:  readfile(): Failed to enable crypto in Command line code on line 1

PHP Warning:  readfile(https://getcomposer.org/installer): failed to open stream
: operation failed in Command line code on line 1

Warning: readfile(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d in Command line code on line 1

Warning: readfile(): Failed to enable crypto in Command line code on line 1

Warning: readfile(https://getcomposer.org/installer): failed to open stream: ope
ration failed in Command line code on line 1

在线 求解

  • 回复于 2015-12-18 22:31 举报
    F:\ecshop\advanced>php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
    Changed current directory to C:/Users/long/AppData/Roaming/Composer
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Failed to decode response: zlib_decode(): data error
    Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
      - Installing fxp/composer-asset-plugin (v1.0.0)
        Downloading: 100%
        Downloading: 100%
        Downloading: 100%
        Failed to download fxp/composer-asset-plugin from dist: The "https://api.github.com/repos/francoispluchino/composer-asset-plugin/zipball/dbc856439a09f07987de673aa8a264c1b88b0c6b" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    Failed to enable crypto
    failed to open stream: operation failed
        Now trying to download from source
      - Installing fxp/composer-asset-plugin (v1.0.0)
        Cloning dbc856439a09f07987de673aa8a264c1b88b0c6b
    
    
    
      [RuntimeException]
      Failed to clone git@github.com:francoispluchino/composer-asset-plugin.git, git was not found, check that it is installed and in your PATH env.
      'git' 不是内部或外部命令,也不是可运行的程序
      或批处理文件。
    
    
    
    require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
    
    
    
    F:\ecshop\advanced>
    

    这个又是怎么回事呢??

您需要登录后才可以回复。登录 | 立即注册