Skip to main content
Maher Sakka
Main navigation
  • Home
  • Contact me
Language switcher
  • English
  • عربي
Breadcrumb
  1. Home
  2. Blog
  3. Fix The Problem of Please Provide a Valid Cache Path In Laravel

Fix the problem of Please provide a valid cache path in Laravel

Image

The "Please provide a valid cache path" problem usually appears in Laravel when transferring a project to a new hosting or downloadin a project on the computer.

Image

To solve the problem of "Please provide a valid cache path" in Laravel, you need to create the following directories under storage/framework :

  • sessions
  • views
  • cache
  • cache/data

You can use the following command to create directories:

mkdir storage/framework/sessions storage/framework/views storage/framework/cache/data -r

 

 

Tags
  • Laravel
Related posts
No content available.
Tags
  • Laravel
  • Linux
  • Drupal
  • Database
  • Tips & Tricks
  • Mobile
Recent posts
  • How to compress and decompress files in Linux with ZIP
  • How to compress and extract TAR files in Linux
  • How to get the size of directories in Linux
Monthly archive
  • May 2017 (2)
  • August 2018 (1)
  • October 2020 (1)
  • August 2023 (1)
  • July 2024 (2)
  • November 2024 (1)
RSS feed

mahersakka.com © 2024