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
巴扎黑2017-05-16 16:50:54
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.
PHP中文网2017-05-16 16:50:54
Project A’s URL: http://my.syxadv.com/
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: