Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the error when using laravel to access public

Shulou Source: shulou.com Published: 2022-06-01 02:30:06 10月27日 Update

This article mainly introduces the relevant knowledge of how to solve the error report when using laravel to access public, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe that you will gain something after reading this article on how to solve errors when accessing public using laravel. Let's take a look.

1. An error was reported when accessing the public directory:

Reason: laravel root directory is missing vendor dependent files directory

Solution: use composer install to install; if previously installed, use composer update to install

2. An error was reported after composer update:

Reason: fileinfo extension is not enabled in php.ini configuration file

Solution: open the php.ini configuration file and remove the previous extension=php_fileinfo.dll; execute the composer update command again to successfully execute the installation. Perfect solution

This is the end of the article on "how to solve errors when accessing public using laravel". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to solve errors when accessing public using laravel". If you want to learn more, you are welcome to follow the industry information channel.

Tags: Time out file knowledge content reason directory article configuration success value again command easy to operate article easy to understand more root directory look industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Linux vpn Shulou Information NVidia