From 14260d09c5b85db5973bc8e0c4932201cbbd84b5 Mon Sep 17 00:00:00 2001 From: jos101 Date: Wed, 15 May 2013 10:54:40 -0500 Subject: [PATCH 1/2] Enable php_openssl.dll in php.ini it specifies to enable the extension php_openssl.dll in php.ini. When php_openssl.gll is disabled, the command show an error in the function file_get_contents but not specify that is necesary to enable php.ini. --- doc/00-intro.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/00-intro.md b/doc/00-intro.md index 4b02c1b70..ce7424f1a 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -108,6 +108,8 @@ composer.phar: C:\Users\username>cd C:\bin C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" + +> **Note:** If the above fails due to file_get_contents, enable php_openssl.dll in php.ini Create a new `.bat` file alongside composer: From 8bbb6b9190d08f112e3002a9741e6ea908feb5c1 Mon Sep 17 00:00:00 2001 From: jos101 Date: Wed, 15 May 2013 17:55:29 -0500 Subject: [PATCH 2/2] Update 00-intro.md --- doc/00-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/00-intro.md b/doc/00-intro.md index ce7424f1a..81d9a4e00 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -109,7 +109,7 @@ composer.phar: C:\Users\username>cd C:\bin C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" -> **Note:** If the above fails due to file_get_contents, enable php_openssl.dll in php.ini +> **Note:** If the above fails due to file_get_contents, use the `http` url or enable php_openssl.dll in php.ini Create a new `.bat` file alongside composer: