composer not install in windows 7(作曲家未安装在 Windows 7 中)
本文介绍了作曲家未安装在 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.
推荐答案
打开位于php"文件夹中的 php.ini,例如在 xampp 中,该文件位于 XYZ:xamppphp
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 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
织梦狗教程
本文标题为:作曲家未安装在 Windows 7 中
基础教程推荐
猜你喜欢
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
