Home > Backend Development > PHP Tutorial > Laravel报错"Fatal error: require(): Failed opening required"怎么办?

Laravel报错"Fatal error: require(): Failed opening required"怎么办?

PHPz
Release: 2020-06-24 16:19:25
Original
12771 people have browsed it

Laravel报错

php中的Laravel框架报错:Fatal error: require(): Failed opening required

报错效果如下:

Laravel报错

可能是php版本太低的原因!

解决方法:

第一种方法:忽略!

打开cmd进入该项目执行composer install --ignore-platform-reqs

如下:

在这里插入图片描述

在这里插入图片描述

然后刷新页面如下为成功

在这里插入图片描述

还有一种方法:是直接删除composer.lock文件,然后cmd中composer install,最后刷新网页即可。

更多相关知识,请访问 PHP中文网!!

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
Composer cannot install laravel
From 1970-01-01 08:00:00
0
0
0
Laravel Space/laravel-backup cannot be installed
From 1970-01-01 08:00:00
0
0
0
Laravel 5.1 Login laravel comes with it No more
From 1970-01-01 08:00:00
0
0
0
Why thinkphp has better performance than laravel?
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