1
nginx에서 심포니를 설정하려고합니다.업스트림에서 지원되지 않는 프로토콜 버전을 보냈습니다
upstream phpfcgi {
server 127.0.0.1:9000;
# server unix:/var/run/php5-fpm.sock; #for PHP-FPM running on UNIX socket
}
server{
listen 80;
server_name xxy.xxy.com;
root /home/abcdef/website/current/web;
location/{
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /app.php/$1 last;
}
location ~ ^/(app|app_dev|config)\.php(/|$) {
fastcgi_pass phpfcgi;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
error_log /var/log/nginx/project_error.log;
access_log /var/log/nginx/project_access.log;
}
내가
2013/12/12 11:23:55 [error] 25515#0: *5 upstream sent unsupported FastCGI protocol version: 60 while reading response header from upstream, client: 111.84.98.65, server: xxy.xxy.com, request: "GET/HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxy.xxy.com"
이 사람이 나를 도울 수
이 오류를 얻고있다 - 아래 구성입니까? 다른 응용 프로그램이 포트 9000에서 수신 대기하는 경우 그래서kill -l PID
을 죽이거나 당신의 nginx의 설정에서 포트를 변경하려고하면
/etc/php5/fpm/pool.d/www.conf에서 포트 사용 php-fpm을 확인하십시오. 이 포트에서 실행중인 다른 서비스가있을 수 있습니다. – klipach