Home  >  Article  >  Backend Development  >  Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

WBOY
WBOYOriginal
2016-12-01 00:25:382270browse

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
Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

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.

Reply content:

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
Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

Server - thinkPHP5 is deployed to a virtual host and the boot file cannot be loaded?

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn