【发布时间】:2017-07-07 08:29:21
【问题描述】:
我正在运行 Windows 10,使用 Laravel 5.4、宅基地 2.0,使用 VM 和 Vagrant。一切正常......除了我运行“laravel new blog”时,我得到:
[Composer\Exception\NoSslException]
The openssl extension is required for SSL/TLS protection but is not
available. If you can not enable the openssl extension,
you can disable this error, at your own risk, by setting the 'disable-tls'
option to true.
我知道对此还有其他一些问题,但似乎还没有一个好的答案。此外,与此相关的大多数其他问题都与 WAMP 相关......因此,我认为在使用 VM 时再次询问是相关的。
我已经删除了 ; (分号)在我的 php.ini-development 和 php.ini-production 中的 extension=php_openssl.dll 前面。错误仍然存在。
当我在命令行中检查 openssl 版本时,我有: OpenSSL 1.0.2k 2017 年 1 月 26 日
【问题讨论】: