Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/258.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Composer未在Windows 7上安装_Php_Composer Php_Wampserver_Php Openssl - Fatal编程技术网

Php Composer未在Windows 7上安装

Php Composer未在Windows 7上安装,php,composer-php,wampserver,php-openssl,Php,Composer Php,Wampserver,Php Openssl,我使用的是32位Windows 7,带有WAMP 2.4和PHP 5.4.16 我在WAMP扩展中启用了openssl,在php.ini中也启用了C:\WAMP\bin\php\php5.4.16 当我尝试安装Composer时,出现以下错误 Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this

我使用的是32位Windows 7,带有
WAMP 2.4和PHP 5.4.16

我在WAMP扩展中启用了openssl,在
php.ini中也启用了
C:\WAMP\bin\php\php5.4.16

当我尝试安装Composer时,出现以下错误

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防火墙,但它仍然不起作用

问题在于您的PHP包没有启用SSL。为此,请编辑
php.ini
,并确保已添加:

extension=php_openssl.dll.

问题在于您的PHP包没有启用SSL。为此,请编辑
php.ini
,并确保已添加:

extension=php_openssl.dll.

转到C:\wamp\bin\php\php5.4.12 然后打开php.ini文件 从行的开头取消注释以下扩展名,如remove“;”

extension=php_openssl.dll
extension=php_curl.dll

并确保windows防火墙已关闭

转到C:\wamp\bin\php\php5.4.12 然后打开php.ini文件 从行的开头取消注释以下扩展名,如remove“;”

extension=php_openssl.dll
extension=php_curl.dll

并确保windows防火墙已关闭

如果您尝试通过WAMP接口启用open_ssl扩展,它可能无法工作。转到命令提示符并键入
path
以查找PHP的路径。进入该文件夹,打开
php.ini
并删除
从写有
extension=php\u openssl.dll的行开始。


让我知道它是如何运行的…

如果您尝试通过WAMP接口启用open_ssl扩展,它可能无法工作。转到命令提示符并键入
path
以查找PHP的路径。进入该文件夹,打开
php.ini
并删除
从写有
extension=php\u openssl.dll的行开始。


让我知道进展如何…

您也为命令行PHP启用了openssl吗?您也为命令行PHP启用了openssl吗?