Home >Backend Development >PHP Tutorial >Linux has set up the lamp environment, and laravel reports an error when accessing it. . I do not know why?
Whoops, looks like something went wrong.
Whoops, looks like something went wrong.
For this kind of problem, the only way to solve this problem is to check the error log.
.env is not released
Copy
.env.example
and change it to .env
.
Then turn on debug mode in .env.
Check if there is an .env file in the root directory.
Check whether the storage directory has write permission.