laravel 安裝過程報錯

報錯信息如圖


$ composer install
Loading composer repositories with package information
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
Updating dependencies (including require-dev)

                                                                                                                                                               
  [Composer\Downloader\TransportException]                                                                                                                     
  The "https://packagist.laravel-china.org/p/symfony/polyfill-intl-idn%24751c98af7d94d0e25f2308b66589d01085b4367f760908f3ffcdca70193d67b3.json" file could no  
  t 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://github.com/composer/composer/issues/3346#issuecomment-76593763

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章