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?

Linux has set up the lamp environment, and laravel reports an error when accessing it. . I do not know why?

WBOY
WBOYOriginal
2016-08-04 09:20:12879browse

Whoops, looks like something went wrong.

Linux has set up the lamp environment, and laravel reports an error when accessing it. . I do not know why?

Reply content:

Whoops, looks like something went wrong.

Linux has set up the lamp environment, and laravel reports an error when accessing it. . I do not know why?

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.

  1. Check if there is an .env file in the root directory.

  2. Check whether the storage directory has write permission.

Statement:
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