<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">  fastcgi_param  SCRIPT_FILENAME /home/hello/www$fastcgi_script_name;</span><br>
<br><div class="gmail_quote">10 августа 2010 г. 14:12 пользователь Алексей Сундуков <span dir="ltr">&lt;<a href="mailto:public-mail@alekciy.ru">public-mail@alekciy.ru</a>&gt;</span> написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
А это все случайно не на VPS/VDS крутиться?<br>
<div class="im"><br>
8 августа 2010 г. 13:00 пользователь Hello1 &lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt; написал:<br>
</div><div><div></div><div class="h5">&gt; nginx 0.7.67, php 5.3.3<br>
&gt;<br>
&gt; Часть php-fpm.conf<br>
&gt; [code]<br>
&gt; listen = /tmp/fastcgi.socket<br>
&gt; [/code]<br>
&gt;<br>
&gt; Часть nginx.conf<br>
&gt; [code]<br>
&gt; location ~ \.php$ {<br>
&gt;           fastcgi_pass   unix:/tmp/fastcgi.socket;<br>
&gt;           fastcgi_index  index.php;<br>
&gt;           fastcgi_param  SCRIPT_FILENAME<br>
&gt; /home/hello/www/$fastcgi_script_name;<br>
&gt;           include        fastcgi_params;<br>
&gt;        }<br>
&gt; [/code]<br>
&gt;<br>
&gt; В логах php-fpm ошибок нет, в логах nginx<br>
&gt; такая ошибка<br>
&gt; [code]<br>
&gt; [crit] 77665#0: *1 connect() to unix:/tmp/fastcgi.socket failed (2: No<br>
&gt; such file or directory) while connecting to upstream, client:<br>
&gt; xx.xx.xx.xx, server: localhost, request: &quot;GET /index.php HTTP/1.1&quot;,<br>
&gt; upstream: &quot;fastcgi://unix:/tmp/fastcgi.socket:&quot;, host: &quot;yy.yy.yy.yy&quot;<br>
&gt; [/code]<br>
&gt;<br>
&gt; /tmp/fastcgi.socket создается после запуска php-fpm<br>
&gt; с правами 0777 и владльцем www:www<br>
&gt;<br>
&gt; Через порт всё работает.<br>
&gt;<br>
&gt; Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?21,117453,117453#msg-117453" target="_blank">http://forum.nginx.org/read.php?21,117453,117453#msg-117453</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; nginx-ru mailing list<br>
&gt; <a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
&gt; <a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
&gt;<br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>С уважением Andrey Petrov<br><a href="mailto:mail%3Aandreyp.kt@gmail.com">mail:andreyp.kt@gmail.com</a><br>