Solutions to problems that occur during installation under symfony window

一个新手
Release: 2023-03-16 13:44:01
Original
1401 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template