zoukankan      html  css  js  c++  java
  • failed to open stream: operation failed

    # composer require oygza/aliyun-php-sdk-afs
    You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
    The "https://packagist.laravel-china.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
    https://packagist.laravel-china.org could not be fully loaded, package information was loaded from the local cache and may be out of date
    
                                                                                                                                                                                     
      [ComposerDownloaderTransportException]                                                                                                                                       
      The "https://packagist.laravel-china.org/p/oygza/aliyun-php-sdk-afs%2484478e475ed0310fe4ed736a710a0c529a95de9cf121907160064f7ab527264d.json" file could not be downloaded: SS  
      L 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                                                                                                                                        
                                                                                                                                                                                     
    
    require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
    
    

    处理办法,更改镜像源为阿里或者其他

    # composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
    
    

    搞定!

    # composer require oygza/aliyun-php-sdk-afs
    You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
    Using version ^1.0 for oygza/aliyun-php-sdk-afs
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 1 install, 0 updates, 0 removals
      - Installing oygza/aliyun-php-sdk-afs (1.0.0): Downloading (100%)         
    Writing lock file
    Generating autoload files
    
    
  • 相关阅读:
    DOM基础(二)
    DOM基础(一)
    JS入门(五)
    linux的用法
    一道关于运行顺序题
    vue框架
    HTML的知识点
    从队友那偷来的主席树模板(静态区间第k小)
    网络流基础模型——任务分配模型(HDU 3572)
    HDU 5521 Meeting(建图思维)
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/11961730.html
Copyright © 2011-2022 走看看