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

时间:2025-02-18 09:44:24

报错详情

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

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

解决方案

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

composer update