How to solve the error when using laravel to access public
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.