Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit 2b6beb6

Browse files
committed
minor #273 Added a "troubleshooting" section in the README to solve common issues (javiereguiluz)
This PR was merged into the 1.0-dev branch. Discussion ---------- Added a "troubleshooting" section in the README to solve common issues This could help us mitigate the SSL issues on Windows while we solve them. The contents were inspired by this section of the Humbug project by @padraic: https://github.com/padraic/humbug#self-update-request-debugging Commits ------- 4f13371 Added a "troubleshooting" section in the README to solve common issues
2 parents 775ff1b + 4f13371 commit 2b6beb6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,29 @@ c:\> php symfony self-update
129129
> installer tries to guess the best proxy settings from the `HTTP_PROXY` and
130130
> `http_proxy` environment variables. Make sure any of them is set before
131131
> executing the Symfony Installer.
132+
133+
Troubleshooting
134+
---------------
135+
136+
### SSL and certificates issues on Windows systems
137+
138+
If you experience any error related with SSL or security certificates when using
139+
the Symfony Installer on Windows systems:
140+
141+
1) Check that the OpenSSL extension is enabled in your `php.ini` configuration:
142+
143+
```ini
144+
; make sure that the following line is uncommented
145+
extension=php_openssl.dll
146+
```
147+
148+
2) Check that the path to the file that contains the security certificates
149+
exists and is defined in `php.ini`:
150+
151+
```ini
152+
openssl.cafile=C:/path/to/cacert.pem
153+
```
154+
155+
If you can't locate the `cacert.pem` file anywhere on your system, you can
156+
safely download it from the official website of the cURL project:
157+
http://curl.haxx.se/ca/cacert.pem

0 commit comments

Comments
 (0)