huangtao1234 2015-12-30 11:02:15 5530次浏览 4条回复 0 0 0
e:\wamp\www\advanced>php -r "readfile('https://getcomposer.org/installer');" | p
hp

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

e:\wamp\www\advanced>php -r "readfile('https://getcomposer.org/installer');" | p
hp

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-30 11:26 举报

    请指导谢谢

  • 回复于 2015-12-30 14:09 举报

    网络问题吧,还是直接在 http://getcomposer.org 下载 『Latest Snapshot』 吧~
    另外,最好翻个墙~

  • 回复于 2015-12-30 16:27 举报
    E:\wamp\php_phar>php composer.phar create-project wamp/www/advanced
    
      [Composer\Downloader\TransportException]
      The "https://packagist.org/packages.json" 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
    
    
    
    create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
    epository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-ins
    tallers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-pl
    atform-reqs] [--] [<package>] [<directory>] [<version>]
    
  • 回复于 2015-12-30 16:28 举报

    各种问题啊,查了半天资料了

    2 条回复
    回复于 2016-09-10 11:39 回复

    我也是这个问题 各种问题各种有

    回复于 2016-09-10 11:40 回复

    怎么解决的呢

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