> 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