作曲家不安装在windows 7 [英] composer not install in windows 7
问题描述
我已在php.ini中取消注释:
[PHP]
;;;; ;;;;;;;;
;关于php.ini;
;;;;;;;;;;;;
; extension = php_oci8_11g.dll
extension = php_openssl.dll
; extension = php_pdo_firebird.dll
系统集的变量确定。
PHP版本5.4.16:
C:\wamp\bin\php\php5.4.16\php.exe
添加到系统路径变量:
C:\ProgramData\\ \\ComposerSetup\bin
但是,回忆此错误:
您的计算机上的某些设置使Composer无法正常工作。
确保您修复了下面列出的问题并再次运行此脚本:
openssl扩展名丢失,这意味着安全的HTTPS传输是
不可能。如果可能,你应该启用它或重新编译php与--with-openssl
/ p>
- Windows 7
- Wamp
- php 5.1.16
- apache 2.4.4
如何解决这个问题,请帮助我。
-
打开位于php文件夹中的php.ini,例如在xampp文件中在XYZ中:\ xampp \php\
-
查找
extension = php_openssl.dll
-
; extension = php_openssl.dll
- remove;
-
重新启动您的xampp(或任何使用),然后应加载扩展。
-
尝试安装作曲家。
I already uncommented in php.ini:
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
;extension=php_oci8_11g.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
Variables of the system set ok.
PHP version 5.4.16:
C:\wamp\bin\php\php5.4.16\php.exe
Add to System path variable:
C:\ProgramData\ComposerSetup\bin
But, recive this error:
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The openssl extension is missing, which means that secure HTTPS transfers are
impossible. If possible you should enable it or recompile php with --with-openssl
I'm using:
- windows 7
- Wamp
- php 5.1.16
- apache 2.4.4
How solve this problem, please help me.
Open php.ini located in your "php" folder for example in xampp the file is in XYZ:\xampp\php\
Find
"extension=php_openssl.dll"
";extension=php_openssl.dll"
- remove";"
Restart your xampp (or whatever u use), extension should be loaded after that.
Try agien to install composer.
这篇关于作曲家不安装在windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!