During the passing process, the DB_DATABASE printed in the log in project B is the database name of project A.
The error reported by project B is:
Base table or view not found: 1146 Table 'Project A's database .Table name' doesn't exist
What is the situation?
Both use the default file cache
How do you configure your two projects? There are .env files in the root directory of standard laravel projects, which contain database-related configuration information.
Project A’s URL: http://my.syxadv.com/
![](http://img.php.cn/upload/image/000/000/000/039b01714cb8466527263454207a397f-0.png)
Project B’s URL: http://my.yinshua.com/
Project B only did one thing after receiving the request: return $_ENV ;
This is using POSTMan:
This is using CURL within the project: