url name symfony exc isf .com issue tps 解決

1. cmd進入DOS , cd 到 php.exe 的目錄下

2. php -r "readfile(‘http://symfony.com/installer‘);" > symfony

3. 把symfony移動到projects(你自己的工作目錄) move symfony c:\projects

4. c:\> cd projects/

c:\projects\> php symfony new my_project_name

如果正常就開始創建,

一般會有這個錯誤:

[GuzzleHttp\Exception\RequestException]
cURL error 60: SSL certificate problem: unable to get local issuer certificate

[GuzzleHttp\Ring\Exception\RingException]
cURL error 60: SSL certificate problem: unable to get local issuer certificate

解決方案:

1.下載 cacert.pem :https://curl.haxx.se/ca/cacert.pem

2.

在php.ini裏面加上這個:

curl.cainfo = "[pathtothisfile]\cacert.pem" 如:curl.cainfo = "D:\phpStudy\php55n\cacert.pem"

3.重新symfony的步驟再走一遍

symfony window下的安裝 安裝時候出現的問題以及解決方案