浏览代码

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.
jos101 12 年之前
父节点
当前提交
14260d09c5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      doc/00-intro.md

+ 2 - 0
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: