Welcome! Log In Create A New Profile

Advanced

Re: nginx php cgi interpreter

All files from this thread

File Name File Size   Posted by Date  
tfarina_org 770 bytes open | download Thiago Farina 04/21/2015 Read message
Thiago Farina
April 21, 2015 10:36PM
On Tue, Apr 21, 2015 at 9:02 PM, Richard Stanway
<r1ch+nginx@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - tfarina_org (770 bytes)
Subject Author Posted

nginx php cgi interpreter

Thiago Farina April 21, 2015 06:00PM

Re: nginx php cgi interpreter

Richard Stanway April 21, 2015 08:04PM

Re: nginx php cgi interpreter Attachments

Thiago Farina April 21, 2015 10:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready