0

I am tring to install symfony3 , I am using this link https://openclassrooms.com/courses/developpez-votre-site-web-avec-le-framework-symfony/symfony-un-framework-php

when I am tring to create a new project this error appear curl: (60) SSL certificate : unable to get local issuer certificate

so I have tried to resovle the problem by following those two solutions!

curl: (60) SSL certificate : unable to get local issuer certificate

And

https://openclassrooms.com/forum/sujet/symfony-3-erreur-installation?page=2

but Always I have an error!!

the error now:

C:\wamp\www>php symfony.phar new Symfony

[GuzzleHttp\Exception\RequestException]
cURL error 77: error setting certificate verify locations:
CAfile: C:/wamp/bin/php/cacert.pem
CApath: none


[GuzzleHttp\Ring\Exception\RingException]
cURL error 77: error setting certificate verify locations:
CAfile: C:/wamp/bin/php/cacert.pem
CApath: none



new <directory> [<version>]
  • How can I make it work?

  • Also the cacert.pem file I have opened the link https://curl.haxx.se/ca/cacert.pem then right click save the file (the type of the file is .txt) is the type of file correct?

jahounna
  • 49
  • 7
  • Save the file as `cacert.pem`, not `cacert.pem.txt` – Veve Mar 03 '17 at 13:12
  • @Veve but when I open the link above it will open the file cacert directly the only way is to save it "save as" and it's automatically cacert.pem.txt ? – jahounna Mar 03 '17 at 13:19

2 Answers2

0

Save the file as cacert.pem, not cacert.pem.txt.

To do so, when you save the file, choose "All (.)" instead of "Text Document (*.txt)" in the filetype under the filename in the save dialog.

enter image description here

Or if you already downloaded it as a txt file, open a command line in the folder C:\wamp\bin\php\ then type this command to rename the file with its correct extension:

move cacert.pem.txt cacert.pem
Veve
  • 6,643
  • 5
  • 39
  • 58
0

This question is already exist check this

If your issue still persist try to install Symfony using Composer instead Symfony Installer

Step 1 - Install Composer Global: follow this link

Step 2 - Install Symfony :

composer create-project symfony/framework-standard-edition name_of_project 3.*
Community
  • 1
  • 1
Mokhtar Tlili
  • 939
  • 7
  • 6