Skip to content

chown -R apache not working in macOS #40764

Answered by chuckrincon
icetechy asked this question in General
Discussion options

You must be logged in to vote

Hey there ✋🏻 .

Basically the apache group doesn't exist, you can create it and then run again the command.

Try using just the owner if no group

chown -R $USER storage
chown -R $USER bootstrap/cache

But I highly recommend you to use the Laravel's default server environment, by running this command:

php artisan serve

If you have Brew installed in your machine, the best way to prevent and avoid this kind of issues is using Laravel Valet, which is a development environment for macOS.

Or if you are using Docker, there is Laravel Sail, a light-weight command-line interface for interacting with Laravel's default Docker development environment.

Using any of the options above, prevent and avoid th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@icetechy
Comment options

Answer selected by icetechy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants