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

WBOY
Release: 2023-03-01 17:22:01
Original
2269 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!