Php Composer未在Windows 7上安装
我使用的是32位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
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吗?