-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
I'm trying to use HHVM as a fastcgi server to communicate with nginx over socket. I specified the socket to be created at /var/run/hhvm/sock and passed that url onto my fastcgi_pass option. Every time I try to execute a php file I get a permission denied error because nginx doesn't have permission to use the socket. The only two options I see is to either run a chmod/chown command at run time every time on the socket file while hhvm is running for nginx to access it or to either somehow specify it to run under the nginx user. I wonder if there is any option to accomplish the latter?