Debug School

rakesh kumar
rakesh kumar

Posted on • Edited on

The remote server returned an error: (405) Method Not Allowed

the-remote-server-returned-an-error-405-method-not-allowed-wcf-rest-service

change-file-permissions-recursively

Problem: permission issue

Solution:
follow this blog if needed

php artisan c:cache
php artisan r:clear
chown -R daemon:daemon 
chmod -R 777 storage
chmod -R 777 storage/framework
chmod -R 777 storage/framework/sessions
chmod -R 777 storage/framework/views
chmod -R 777 storage/framework/cache
chmod -R 777 storage/logs
$ find . -type f -exec chmod 644 {} \;
$ find . -type d -exec chmod 755 {} \;
$ chmod 707 images
$ chmod 707 images/stories
$ chown -R daemon:daemon cache
$ chown -R daemon:daemon .
Enter fullscreen mode Exit fullscreen mode

Top comments (0)