php – 无法安装laravel包

前端之家收集整理的这篇文章主要介绍了php – 无法安装laravel包前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
如果我输入:

PS C:\wamp\www\laravel-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:\wamp\www\laravel-m
aster\laravel\cli\tasks\bundle\providers\provider.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. (只需删除前面的分号).

猜你在找的Laravel相关文章