tp5.1 报错Fatal error: require(): Failed opening required
Warning: require(D:\Virtualmachine\TP5\V-admin/thinkphp/base.php): failed to open stream: No such file or directory in D:\Virtualmachine\TP5\V-admin\think on line 16Fatal error: require(): Failed open
·
Warning: require(D:\Virtualmachine\TP5\V-admin/thinkphp/base.php): failed to open stream: No such file or directory in D:\Virtualmachine\TP5\V-admin\thi
nk on line 16
Fatal error: require(): Failed opening required 'D:\Virtualmachine\TP5\V-admin/thinkphp/base.php' (include_path='.;C:\php\pear') in D:\Virtualmachine\TP
5\V-admin\think on line 16
我之前pull项目到github上面,然后重新git clone下来后运行的时候发现报错,检查了好久后发现原来是提交的时候git会自动忽略thinkphp和vendor这两个目录,只要加上这两个目录就可以了
或者直接项目目录下执行composer install
更多推荐
已为社区贡献1条内容
所有评论(0)