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

WBOY
Release: 2016-08-04 09:20:12
Original
855 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:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!