php - lnmp has installed YII2. The domain name points to the entry file of the YII project folder. Files in this folder and subfolders can be imported, but files in other directories cannot be imported. Why?
淡淡烟草味
淡淡烟草味 2017-06-27 09:18:00
0
1
815

1. Installation environment: lnmp YII2
2. The domain name points to the entry file index.php of the project, but an error occurs when index.php introduces files in other directories. There is no problem in importing files in the current folder or files in the subfolder.
3. The project permission is 777
The screenshot is as follows:


require An error was reported when introducing the autoload file,
4. Error status code 500

The browser error is as follows:

Error details:

淡淡烟草味
淡淡烟草味

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!