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?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:20:12
Original
909 people have browsed it

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.

Related labels:
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template