Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 8 Failed to clear cache. Make sure you have the appropriate permissions [duplicate]

I am running php artisan cache:clear to clear the cache in Godaddy shared hosting through SSH.

My other artisan commands working but php artisan cache:clear not.

I am getting following error :

Failed to clear cache. Make sure you have the appropriate permissions.
like image 483
Curious Avatar asked Oct 26 '25 08:10

Curious


1 Answers

I fixed this issue by deleting all files in bootstrap/cache. Then, run the following commands.

php artisan cache:clear

composer dump-autoload
like image 155
Razor Mureithi Avatar answered Oct 29 '25 02:10

Razor Mureithi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!