Skip to content

Static Assets return 500 Error after PHP versions switch #1207

Answered by selfsimilar
selfsimilar asked this question in Q&A
Discussion options

You must be logged in to vote

This was an issue with macOS security (in my case version 12.3.1 Monterey). The problem was resolved by going to System Preferences > Security & Privacy > Privacy > Full Disk Access and allowing some blocked apps to have elevated permissions. There were several nginx and php-fpm entries, so I granted them access along with the Terminal app itself. Problem resolved.

If this is a more wide-spread issue, it's probably worth editing the Valet docs to reflect that in more recent macOS versions (>= 12.x) nginx will need elevated permissions for some operations.

(StackOverflow helped, (lead to this answer))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by selfsimilar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant