The documentation instruct changing the following directives in manner which results in server missconfiguration: listen.owner = nobody listen.group = nobody the apropriate value should be: listen.owner = apache listen.group = apache (For Nginx use nginx) I've tested on both local and remote servers, the nobody configuration doesn't seem to work. Also, I'm not the only one, see here: http://stackoverflow.com/questions/23443398/nginx-error-connect-to-php5-fpm-sock-failed-13-permission-denied Reproducible: Always Steps to Reproduce: 1.load a php web page 2. 3. Actual Results: getting an error: [proxy:error] [pid 13096:tid 140629329839872] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/php-fpm/www.sock (*) failed Expected Results: should load (obviously)
Which documentation are you referring to?
(In reply to Michael Palimaka (kensington) from comment #1) > Which documentation are you referring to? I'm referring to: https://wiki.gentoo.org/wiki/Apache#Enabling_PHP-FPM_through_mod_proxy_fcgi_in_Apache_2.4 As I mentioned, I get "Permission denied" error when php-fpm.conf is configured to nobody. I get the same with nginx as well: [crit] 28772#28772: *5 connect() to unix:/run/php-fpm.socket failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.socket:", host: "localhost" srw-rw---- 1 nobody nobody 0 Jul 13 20:03 php-fpm.socket It seems like, when it's configured to nobody - nginx and apache can't use it
It's a wiki; feel free to edit it.