Warning: require(D:\phpStudy\WWW\tp51\public/../thinkphp/base.php): failed to open stream: No such file or directory in D:\phpStudy\WWW\tp51\public\index.php on line 16
Fatal error: require(): Failed opening required 'D:\phpStudy\WWW\tp51\public/../thinkphp/base.php' (include_path='.;C:\php\pear') in D:\phpStudy\WWW\tp51\public\index.php on line 16
这是什么情况
If it is downloaded, the directory should be correct, but the reason is that the thinkphp core file does not exist. My guess is that you got the source code from somewhere else, but the source code does not include the thinkphp core directory, so you need to use Composer to download the core directory. In the project directory, execute composer install to install the core files. I downloaded Composer according to the process on the official website, and it was ok.