skip to Main Content

I have a website made with Laravel, I need to upload it to windows server (Plesk Cpanel) i have set the database and everything is good, but when trying to open the website it shows me :

The stream or file "D:Inetpub.....storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

no solution found for windows any help, please?

2

Answers


  1. You must change permissions for this file, or for all "storage" dir.

    I found this in Google for Plesk – Link for Plesk and for Cpanel – Lunk for CPanel.

    You must set 777 or read, write, execute permissions for all groups.

    Or read here what permissions you need.

    Good luck!

    Login or Signup to reply.
  2. sudo chmod 777 path/to/project/storage/logs/laravel.log
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search