skip to Main Content

Php versions – Laravel storage returns FileNotFoundException But file exists

I want read file content in laravel 6, the file already exists but laravel return not found exception. This is my logs files directory: /var/www/html/myLaravelLab/storage/logs/laravel-2019-10-14.log $contents = Storage::get(storage_path('logs/laravel-2019-10-14.log')); Laravel return this error: IlluminateContractsFilesystemFileNotFoundException But file already exists! I want read…

VIEW QUESTION
Back To Top
Search