为laravel框架安装composer

时间:2014-11-25 10:27:19

标签: php laravel wamp composer-php

我在为laravel框架安装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

我尝试在网上找到的所有内容 - 更改php.ini,通过CMD安装,但没有任何工作......

我真的不明白这里有什么问题。请帮忙。

以下是我尝试的图片:

enter image description here

1 个答案:

答案 0 :(得分:0)

您的PHP版本错误。

就个人而言,我不愿意修理它。使用Homestead创建虚拟ubuntu实例。一切都将在几分钟内启动并运行