search

Home  >  Q&A  >  body text

I can not open

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

这是什么情况

a帅航a帅航2019 days ago1827

reply all(1)I'll reply

  • 金麟张少

    金麟张少2019-08-07 11:32:05

    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.

    reply
    0
  • Cancelreply