user

Eslam Zedan

2 Mar 2022

Laravel clear cache files manually

Laravel

Hello,

I am using a shared host and I want to clear cache files so I can not connect with SSH to run 

php artisan cache:clear

So is there are manually way to delete these files manually?

thanks,

Comments

Rakshit

2 Mar 2022

Best Answer

best answer

'php artisan cache:clear' will not clear the cache.

 

But what you can do, is follow below path and rename the file.

  • Navigate to your ‘laravel_dir/bootstrap/cache’
  • Rename your 'config.php' file to 'config.php_1'
  • Reload your application.

It will work for sure if you are using laravel v5+

Replies

Eslam Zedan

2 Mar 2022

Thank you it is working

© 2024 Copyrights reserved for web-brackets.com