# \#laravel

**URL:** https://www.isharkfly.com/tag/laravel/125.md

[Latest](https://www.isharkfly.com/latest.md) · [Categories](https://www.isharkfly.com/categories.md) · [Tags](https://www.isharkfly.com/tags.md)

---

## [Laravel 项目如何运行](https://www.isharkfly.com/t/laravel/15614)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 6:28pm UTC](https://www.isharkfly.com/t/laravel/15614 "2024-04-07T18:28:06Z")

</div>

如有一个 Laravel 项目，在配置好 PHP 版本和运行环境后，可以直接在项目下直接运行： php artisan serve 来启动你的项目。 通过浏览器查看 当项目运行后，默认的启动端口为 8000，可以通过浏览器来进行查看运行的 Laravel 项目。

---

## [Laravel .env 在那个位置](https://www.isharkfly.com/t/laravel-env/15611)

<div class="topic-metadata">

**Author:** [@yhu-bilh](https://www.isharkfly.com/u/yhu-bilh)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 3:54am UTC](https://www.isharkfly.com/t/laravel-env/15611 "2024-04-07T03:54:43Z")

</div>

laravel 是一种基于 php 语言的 web 应用程序框架。作为一种功能强大的框架，laravel在实际项目中被广泛使用。 在Laravel项目中，.env文件是非常重要的文件之一。.env文件用于设置重要的环境变量和配置信息，比如数据库连接信息、应用程序密钥、日志文件路径等等。 因此，在使用Laravel时，我们需要知道.env文件的位置和用法。 那么，Laravel中的.env文件在哪里呢？ .env 文件的路径 .e…

---

## [Laravel .env 和.env.example 文件之间的关系](https://www.isharkfly.com/t/laravel-env-env-example/15610)

<div class="topic-metadata">

**Author:** [@yhu-bilh](https://www.isharkfly.com/u/yhu-bilh)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 3:52am UTC](https://www.isharkfly.com/t/laravel-env-env-example/15610 "2024-04-07T03:52:41Z")

</div>

在 Laravel 框架中，.env 和 .env.example 是非常常见的文件。它们都包含了环境变量的定义，用于配置 Laravel 应用程序的各种设置。 .env 文件是真正的环境变量文件，其中包含了应用程序在特定环境下的所有配置。这个文件应该包含了您的数据库凭证、密钥、队列驱动、邮件驱动等等。当您的应用程序在某个环境下运行时，Laravel 会自动读取该环境的 .env 文件，从而获取配置信息。 .env.example …

---

## [Laravel 项目运行的时候提示 AES-128-CBC 错误](https://www.isharkfly.com/t/laravel-aes-128-cbc/15609)

<div class="topic-metadata">

**Author:** [@yhu-bilh](https://www.isharkfly.com/u/yhu-bilh)\
**Replies:** 1\
**Last updated:** [April 7, 2024, 3:48am UTC](https://www.isharkfly.com/t/laravel-aes-128-cbc/15609 "2024-04-07T03:48:57Z")

</div>

在一个 Laravel 项目运行的时候提示错误： The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. 出现这个错误的原因是什么？ 如何对这个错误进行修正。

---

## [Laravel 项目提示 Whoops, looks like something went wrong. 怎么办](https://www.isharkfly.com/t/laravel-whoops-looks-like-something-went-wrong/15602)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [April 7, 2024, 3:43am UTC](https://www.isharkfly.com/t/laravel-whoops-looks-like-something-went-wrong/15602 "2024-04-07T03:43:20Z")

</div>

当运行 laravel 项目的时候，可能会遇到提示 Whoops, looks like something went wrong 错误。 查看日志 找项目中的配置文件，设置： 'debug' =\> env('APP\_DEBUG', true), 来让项目显示 Debug 的信息。 同时还需要在项目的目录下运行： php artisan config:cache 来清理缓存。 再次刷新界面就可以看到…

---

## [Laravel 项目运行提示文件没有找到](https://www.isharkfly.com/t/laravel/15605)

<div class="topic-metadata">

**Author:** [@yhu-bilh](https://www.isharkfly.com/u/yhu-bilh)\
**Replies:** 1\
**Last updated:** [April 7, 2024, 2:13am UTC](https://www.isharkfly.com/t/laravel/15605 "2024-04-07T02:13:03Z")

</div>

一个 PHP laravel 的项目，当我们检出代码后到本地运行的时候提示下面的错误是什么原因呢？ 感觉很奇怪的。

---

## [Laravle 报错The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths](https://www.isharkfly.com/t/laravle-the-only-supported-ciphers-are-aes-128-cbc-and-aes-256-cbc-with-the-correct-key-lengths/15603)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 1:26am UTC](https://www.isharkfly.com/t/laravle-the-only-supported-ciphers-are-aes-128-cbc-and-aes-256-cbc-with-the-correct-key-lengths/15603 "2024-04-07T01:26:24Z")

</div>

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths 解决方法 到项目根目录与APP 目录同级 命令行运行 php artisan key:generate
