配置不允许连接到 http://packagist.org/packages.json

2022-01-16 00:00:00 ssl frameworks php laravel composer-php

我正在尝试在我的计算机上安装 laravel.

I am trying to install laravel in my computer.

我指的是turorails点 laravel安装教程.

I am refering to turorails point laravel installation tutorial.

安装 composer 后尝试创建新的 larael 项目但收到此错误.

After installing composer trying to create new larael project but getting this error.

这是我得到的错误:

推荐答案

您需要在 Windows 中启用 OpenSSL.

You need to enable OpenSSL in your Windows.

您可以从您的 php.ini 文件中启用它:

You can enable it from your php.ini file:

extension=php_openssl.dll

相关文章