作曲家未安装在 Windows 7 中 [英] composer not install in windows 7

查看:19
本文介绍了作曲家未安装在 Windows 7 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 php.ini 中取消了注释:

I already uncommented in php.ini:

[PHP]

;;;;;;;;;;;;;;;;;;;
 ; About php.ini ;
;;;;;;;;;;;;;;;;;;;

;extension=php_oci8_11g.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll

系统变量设置好.

PHP 版本 5.4.16:

PHP version 5.4.16:

  C:wampinphpphp5.4.16php.exe

添加到系统路径变量:

  C:ProgramDataComposerSetupin

但是,收到此错误:

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

我正在使用:

  • Windows 7
  • 旺普
  • php 5.1.16
  • 阿帕奇 2.4.4

如何解决这个问题,请帮助我.

How solve this problem, please help me.

推荐答案

  1. 打开位于php"文件夹中的 php.ini,例如在 xampp 中,该文件位于 XYZ:xamppphp

  1. Open php.ini located in your "php" folder for example in xampp the file is in XYZ:xamppphp

查找 "extension=php_openssl.dll"

";extension=php_openssl.dll" - 移除 ";"

重启你的xampp(或你使用的任何东西),之后应该加载扩展.

Restart your xampp (or whatever u use), extension should be loaded after that.

尝试 agien 安装 composer.

Try agien to install composer.

这篇关于作曲家未安装在 Windows 7 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆