1. cmd to enter DOS, cd to the directory of php.exe
2. php -r "readfile('http://symfony.com/installer ');" > symfony
##3. Move symfony to projects(yourself working directory) move symfony c:\projects
#4. c:\> cd projects/
# c:\projects\> php symfony new my_project_name
#5. #php D:\amp\test\my_project_name\bin\console server:run If the creation starts normally, usually there will be this error:
[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
Solution:
1. Download cacert.pem: https://curl.haxx.se/ca/cacert.pem
Add this to php.ini:
curl.cainfo = "[pathtothisfile]\cacert.pem" For example: curl.cainfo = "D:\phpStudy\php55n\cacert.pem "
3. Go through the steps of symfony again
The above is the detailed content of Solutions to problems that occur during installation under symfony window. For more information, please follow other related articles on the PHP Chinese website!