cURL error 60: ssl certification issue when attempting to use symfony

前端 未结 3 1495
臣服心动
臣服心动 2020-12-08 12:58

I have recently gotten a new windows computer and have installed the php symfony framework.

When attempting to use the new command C:> php symfony new blog<

相关标签:
3条回答
  • 2020-12-08 13:45

    I had the same error with the php version 7.0.10

    The mistake I did was that I copyied the certificate (cacert.pem) in the wrong php.ini file. I mean, I have 3 type of ini file: php-development.ini, php-production.ini and php.ini

    and the right one was php.ini

    Make sure you put the path of the certificate in the right one.

    And it will work ! ;) lovely symfony <3

    FH

    0 讨论(0)
  • 2020-12-08 13:47

    you can try the the command line below,it's worked for me

    composer create-project symfony/framework-standard-edition my_project_name "2.8.*"
    
    0 讨论(0)
  • 2020-12-08 13:56

    Follow this link, Copy the entire page and save it in a: "cacert.pem"

    Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"

    Or

    use composer instead Symfony installer

    0 讨论(0)
提交回复
热议问题