Level 17
Add yourself to the www-data group and make sure that group has full control of folders in the project.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am having an issue where I can only run artisan commands like cache:config from sudo in order for the command to work. I am getting an error whenever I try to just run artisan config:cache due to permission settings on the server.
How do I give myself permissions to do this on the live server?
Please or to participate in this conversation.