symfony 3. Move symfony to projects (your own work directory) move symfony c:\projects 4. c:\> cd projects/ c:\projects\> php symfony new my_proje"/> symfony 3. Move symfony to projects (your own work directory) move symfony c:\projects 4. c:\> cd projects/ c:\projects\> php symfony new my_proje">

Home  >  Article  >  Backend Development  >  Solutions to problems that occur during installation under symfony window

Solutions to problems that occur during installation under symfony window

一个新手
一个新手Original
2017-09-29 10:28:041347browse

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

2.

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn