Symfony window installation and Installation Problems and Solutions, symfonywindow

Source: Internet
Author: User

Symfony window installation and Installation Problems and Solutions, symfonywindow

1. Run cmd to go to DOS and cd to the php.exe directory.

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

3. move symfony to projects (your 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 it is normal, start creating,

 

Generally, this error occurs:

[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 in php. ini:

Curl. cainfo = "[pathtothisfile] \ cacert. pem" For example: curl. cainfo = "D: \ phpStudy \ php55n \ cacert. pem"

 

3. Repeat the symfony step.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.