nginx php cgi interpreter

Thiago Farina tfransosi at
Wed Apr 22 02:33:46 UTC 2015

On Tue, Apr 21, 2015 at 9:02 PM, Richard Stanway
<r1ch+nginx at> wrote:
>> That guide seems obsolete. Use the php5-fpm package,
> looks like a more up to date guide (skip the mysql part if it isn't needed).
Hey! Thanks a lot! I was able to configure it following this tutorial.

My nginx conf ended up being like the attached file.

The only thing I have had to change from it was the
unix:/var/run/php5-fpm.sock back to

>From /usr/local/nginx/logs/error.log:
2015/04/21 23:25:47 [crit] 12184#0: *1 connect() to
unix:/var/run/php5-fpm.sock failed (13: Permission denied) while
connecting to upstream, client
    :, server:, request: "GET /info.php
HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host:

Thiago Farina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfarina_org
Type: application/octet-stream
Size: 770 bytes
Desc: not available
URL: <>

More information about the nginx mailing list