thinkphp5启动报错warning/fatal error:failed opening require (thinkphp/start.php)

报错详情

Warning:require(D:\workspace\tp5\public/../thinkphp/start.php):failed to open stream:No such file or directory in D:\workspace\tp5\public\index.php on line 32

Fatal error:require():Failed opening required 'D:\workspace\tp5\public/../thinkphp/start.php'(include_path='C:\php\pear') in D:\workspace\tp5\public\index.php on line 32

解决方案

执行以下命令更新依赖库即可

composer update

你可能感兴趣的:(PHP,thinkphp)