Home > Article > Backend Development > Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?
1. Place the thinkPHP5 framework code on the virtual host. It cannot be accessed and prompts that the boot file cannot be loaded.
2. Screenshot of the situation:
Picture description
3. I referred to https://www.kancloud.cn/manua... and put the entry file in the root directory of the website. Why can't I boot thinkphp5?
Thanks in advance.
1. Place the thinkPHP5 framework code on the virtual host. It cannot be accessed and prompts that the boot file cannot be loaded.
2. Screenshot of the situation:
Picture description
3. I referred to https://www.kancloud.cn/manua... and put the entry file in the root directory of the website. Why can't I boot thinkphp5?
Thanks in advance.
Your directory is called thinkphp5.0, the error message is require('./thinkphp/start.php'), of course it cannot be found