E:\>laravel new blog
Crafting application...
[GuzzleHttp\Exception\RequestException]
Error creating resource: [message] fopen(http://cabinet.laravel.com/latest.zip): failed to open stream: Unable to f
ind the socket transport "http" - did you forget to enable it when you configured PHP?
[file] C:\Users\xiaoyi_wang\AppData\Roaming\Composer\vendor\guzzlehttp\guzzle\src\Handler\StreamHandler.php
[line] 324
[RuntimeException]
Error creating resource: [message] fopen(http://cabinet.laravel.com/latest.zip): failed to open stream: Unable to f
ind the socket transport "http" - did you forget to enable it when you configured PHP?
[file] C:\Users\xiaoyi_wang\AppData\Roaming\Composer\vendor\guzzlehttp\guzzle\src\Handler\StreamHandler.php
[line] 324
new [--dev] [--force] [--] [<name>]
E:\>
执行laravel new blog时出现上面的错误,网上查好像都是说启用openssl就可以了,我的extension=php_openssl.dll原来就是启用的,老是提示这个错误,不知道怎么处理。
我有尝试直接进对应的网页,是可以的,网络应该是正常的。
开启allow url fopen