enter image description herei’m using centos to host my laravel application,
when i upload the project first time using git, it will be cached, and when i change any file, changes doesn’t apply, i tried all artisan commands that clear cache in laravel but didn’t fix
the only way is to change the root directory of the application after each single change, is centos caching or nginx or laravel or other software in the server or the browser? even i cleared every thing in public/index.php and put echo 'foo';
and still got old cached data
screenshot of my nginx config file
screenshot of my nginx config file
2
Answers
i tried
systemctl restart php-fpm
now every thing worked as expected and all changes applied thank you a lot i appreciate your helpThis is possibly directory permission issue you need to grant storage and bootstrap directory 777 permission level. You need to run the following command on the root folder of your app
and
Then try to effect your changes.