ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nginx не хочет работать че рез unix socket с php-fpm


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Nginx не хочет работать че рез unix socket с php-fpm
  • From: Андрей Петров <andreyp.kt@xxxxxxxxx>
  • Date: Tue, 10 Aug 2010 16:44:47 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=bPiBXGjgjsbaVFdq39MFRwv8T2yUdeqe+IcKxe6uyDE=; b=ZCxNuCIMG7FRiLfYTBYnD0vb6oT+XUTMsZ9AP/msw1SUI+OlDJsXCE9PBbj8Ip2zqi 951MPg+WQLW3fptJOaZ05SgVjSmgiTRpFZJHUwfSnjep2h6QDZTHqIR2UnL/fGPUb3fq iB0V1H95Oy0AkcmStWZyliebjYYWMHCjJCg8k=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wcy7ZQ1qfUcSBCJFFPOLQYUwD0+/FC2nmDMp63wcEaLJx1HjV9t3/lfIeOlQ1Wr5wQ RDE4+RcCNWEsQTGZJFhRgJlYdOeyHEKVXTpkrK4XTq+jigP+2B1H3LGnzoBPlyPc2MFq 6WD2CZLl+zlRS5fmajxoNmKSmxd0GYNkzdRDA=
  • In-reply-to: <AANLkTi=AxMvtVn6KnWM2+JHK1sh_1qKjqjE9Kw7PzYo7@xxxxxxxxxxxxxx>
  • References: <4c11341f05f0dc9b4d72bfb63c4425e6.NginxMailingListRussian@xxxxxxxxxxxxxxx> <AANLkTi=AxMvtVn6KnWM2+JHK1sh_1qKjqjE9Kw7PzYo7@xxxxxxxxxxxxxx>

??fastcgi_param ?SCRIPT_FILENAME?/home/hello/www$fastcgi_script_name;

10 ??????? 2010??. 14:12 ???????????? ??????? ???????? <public-mail@xxxxxxxxxx> ???????:
? ??? ??? ???????? ?? ?? VPS/VDS ??????????

8 ??????? 2010??. 13:00 ???????????? Hello1 <nginx-forum@xxxxxxxx> ???????:
> nginx 0.7.67, php 5.3.3
>
> ????? php-fpm.conf
> [code]
> listen = /tmp/fastcgi.socket
> [/code]
>
> ????? nginx.conf
> [code]
> location ~ \.php$ {
> ? ? ? ? ? fastcgi_pass ? unix:/tmp/fastcgi.socket;
> ? ? ? ? ? fastcgi_index ?index.php;
> ? ? ? ? ? fastcgi_param ?SCRIPT_FILENAME
> /home/hello/www/$fastcgi_script_name;
> ? ? ? ? ? include ? ? ? ?fastcgi_params;
> ? ? ? ?}
> [/code]
>
> ? ????? php-fpm ?????? ???, ? ????? nginx
> ????? ??????
> [code]
> [crit] 77665#0: *1 connect() to unix:/tmp/fastcgi.socket failed (2: No
> such file or directory) while connecting to upstream, client:
> xx.xx.xx.xx, server: localhost, request: "GET /index.php HTTP/1.1",
> upstream: "fastcgi://unix:/tmp/fastcgi.socket:", host: "yy.yy.yy.yy"
> [/code]
>
> /tmp/fastcgi.socket ????????? ????? ??????? php-fpm
> ? ??????? 0777 ? ????????? www:www
>
> ????? ???? ?? ????????.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,117453,117453#msg-117453
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru



--
? ????????? Andrey Petrov
mail:andreyp.kt@xxxxxxxxx
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.