nginx php cgi interpreter
Thiago Farina
tfransosi at gmail.com
Wed Apr 22 02:33:46 UTC 2015
On Tue, Apr 21, 2015 at 9:02 PM, Richard Stanway
<r1ch+nginx at teamliquid.net> wrote:
>> That guide seems obsolete. Use the php5-fpm package,
> https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-debian-7
> 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 127.0.0.1:9000.
>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
: 192.168.0.101, server: tfarina.org, request: "GET /info.php
HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host:
"tfarina.org"
--
Thiago Farina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfarina_org
Type: application/octet-stream
Size: 770 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150421/40676e3f/attachment.obj>
More information about the nginx
mailing list