Symfony 3新项目错误[GuzzleHttp Exception]

时间:2016-09-11 17:49:32

标签: php symfony

我在使用OpenSUSE Leap 42.1,我的安装没有任何问题。但是当我尝试创建新的Symfony项目运行命令

symfony new project

我在终端内得到以下两个例外:

[GuzzleHttp\Exception\RequestException]                                          
  No system CA bundle could be found in any of the the common system locations.    
  PHP versions earlier than 5.6 are not properly configured to use the system's    
  CA bundle by default. In order to verify peer certificates, you will need to     
  supply the path on disk to a certificate bundle to the 'verify' request          
  option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not   
  need a specific certificate bundle, then Mozilla provides a commonly used CA     
  bundle which can be downloaded here (provided by the maintainer of cURL):        
  https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once    
  you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP     
  ini setting to point to the path to the file, allowing you to omit the 'verify'  
  request option. See http://curl.haxx.se/docs/sslcerts.html for more              
  information.                                                                     






  [RuntimeException]                                                               
  No system CA bundle could be found in any of the the common system locations.    
  PHP versions earlier than 5.6 are not properly configured to use the system's    
  CA bundle by default. In order to verify peer certificates, you will need to     
  supply the path on disk to a certificate bundle to the 'verify' request          
  option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not   
  need a specific certificate bundle, then Mozilla provides a commonly used CA     
  bundle which can be downloaded here (provided by the maintainer of cURL):        
  https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once    
  you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP     
  ini setting to point to the path to the file, allowing you to omit the 'verify'  
  request option. See http://curl.haxx.se/docs/sslcerts.html for more              
  information.   

我在symfony github上读到我需要下载this certificate,但是当我打开它时,它说它已经安装了。

编辑: Php版本为5.5.14

0 个答案:

没有答案