加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

php – 无法安装laravel包

发布时间:2020-12-14 19:36:42 所属栏目:大数据 来源:网络整理
导读:如果我输入: PS C:wampwwwlaravel-master php artisan bundle:install bootstrapper 我正进入(状态: PHP Warning: file_get_contents(http://github.com/patricktalmadge/bootstrapper/zipball/master): failed to open stream: Unable to find the soc
如果我输入:

PS C:wampwwwlaravel-master> php artisan bundle:install bootstrapper

我正进入(状态:

PHP Warning:  file_get_contents(http://github.com/patricktalmadge/bootstrapper/zipball
/master): failed to open stream: Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP? in C:wampwwwlaravel-m
asterlaravelclitasksbundleprovidersprovider.php on line 69

我正在运行WAMP Server,我在php.ini中启用了php_openssl,在httpd.conf中启用了ssl_module.我认为它是由localhost配置问题引起的,并不是Laravel特有的问题.我还能检查更多信息吗?

解决方法

Wamp中phpinfo()的输出与从命令行运行的PHP使用的配置不同.

要查找运行CMD中的PHP的.ini文件,请键入php –ini.

一定要在该文件中启用extension = php_openssl.dll. (只需删除前面的分号).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读