zoukankan      html  css  js  c++  java
  • Warning: require(D:wamp64wwwxxxpublic/../thinkphp/start.php): failed to open stream: No such file or directory in D:wamp64www xxx publicindex.php on line 17

     

    ( ! ) Warning: require(D:wamp64wwwxxxpublic/../thinkphp/start.php): failed to open stream: No such file or directory in D:wamp64www xxx publicindex.php on line 17

    Github下载的代码,已经在本地配置域名和修改了hosts文件,依旧报错,查明原因是:缺少composer依赖

     

    问题场景

    这个问题一般发生在你从github上下载(download)或者克隆(clone) thinkphp的时候,我们将得到的thinkphp放入web服务器,然后通过浏览器去访问它(http://localhost/tp5/public)

    原因:

    尽管你已经下载了Thinkphp框架代码并且把他放入到你的web服务器上,但是这里仍然缺少了依赖性。为了能够让Thinkphp正常运行,应该安装这些缺少的依赖。

    解决:

    运行下面的命令

    composer install

    即可。

     

    文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。

    __________________________________________________________________________________

    若有帮助到您,欢迎点击推荐,您的支持是对我坚持最好的肯定(*^_^*)

    耶和华是我的牧者,我必不至缺乏。
  • 相关阅读:
    -_-#【Angular】工具函数
    -_-#【m3u】
    -_-#【Angular】依赖注入
    -_-#【响应式图片】
    CODEVS——T1519 过路费
    CODEVS——T1979 第K个数
    Vijos——T1279 Leave-绿光
    HDU——T 2824 The Euler function
    洛谷——P1096 Hanoi双塔问题
    python(36)- 测试题
  • 原文地址:https://www.cnblogs.com/lovebing/p/13626617.html
Copyright © 2011-2022 走看看