【问题标题】:Issue while downloading laravel on windows 10 " [ErrorException] file_get_contents(C:\composer): failed to open stream: Permission denied"在 Windows 10 上下载 laravel 时出现问题“[ErrorException] file_get_contents(C:\composer): failed to open stream: Permission denied”
【发布时间】:2020-01-18 04:19:34
【问题描述】:

当我输入此命令时,我正在尝试在我的 Windows 10 上安装 Laravel

composer global require laravel/installer

我收到此错误:

错误

[ErrorException] file_get_contents(C:\composer): 未能打开 流:权限被拒绝

【问题讨论】:

    标签: laravel composer-php


    【解决方案1】:

    运行提升的命令提示符。

    右键单击命令提示符>选择“以管理员身份运行”。

    【讨论】:

    • 我已经尝试过这个解决方案,但仍然是同样的问题
    猜你喜欢
    • 2015-05-21
    • 2015-11-05
    • 1970-01-01
    • 2016-08-14
    • 2022-01-02
    • 2016-01-12
    • 1970-01-01
    • 2020-12-26
    • 2021-02-18
    相关资源
    最近更新 更多