Проблемы с локальным сервером.

Andrey1812

Новичок
Здравствуйте.
Пользуюсь локальным сервером от winginx, и возникла такая проблема:
Почему то если главная страница index.html, то все работает, если index.php, то нет, выдает ошибку:
Хотя наверное месяц назад все работало.
Подскажите пожалуйста, в чем проблема.
 

Andrey1812

Новичок
Посмотри error log.
Вот стопка записей:
cgi://127.0.0.1:9000", host: "rbt"
2012/12/17 12:56:43 [error] 76212#74020: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "HEAD / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 12:57:00 [error] 76212#74020: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 12:58:06 [error] 78056#78208: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 12:58:07 [error] 78056#78208: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 12:58:09 [error] 78056#78208: *5 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:58:13 [error] 78056#78208: *5 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:58:14 [error] 78056#78208: *5 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:58:15 [error] 78056#78208: *5 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:58:17 [error] 78056#78208: *5 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:59:23 [error] 78056#78208: *13 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 12:59:51 [error] 78056#78208: *15 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "phpblog"
2012/12/17 13:00:21 [error] 78340#78660: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 13:00:22 [error] 78340#78660: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 13:00:35 [error] 78340#78660: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 13:01:57 [error] 78340#78660: *7 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:82"
2012/12/17 13:02:11 [error] 78340#78660: *10 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "phpsite"
2012/12/17 13:03:28 [error] 78340#78660: *13 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rbt"
2012/12/17 13:03:29 [error] 78340#78660: *13 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rbt"
2012/12/17 13:03:42 [error] 78340#78660: *21 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:07:32 [error] 76644#79536: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:07:32 [error] 76644#79536: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:07:33 [error] 76644#79536: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:07:33 [error] 76644#79536: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:39:48 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:39:49 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:39:49 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:39:50 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:12 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:13 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:13 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:14 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:14 [error] 87708#78312: *1 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "rht"
2012/12/17 13:40:19 [error] 87708#78312: *13 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
2012/12/17 15:10:17 [error] 87708#78312: *15 upstream sent unsupported FastCGI protocol version: 100 while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:81"
 

Вурдалак

Продвинутый новичок
Возможно порт php-fpm'а занял какой-то другой сервис.

Если я правильно понял, что это Windows, попробуй посмотреть что выведет
Код:
netstat -aon | findstr 9000
 

Andrey1812

Новичок
Помогла переустановка сервера, всем большое спасибо за помощь!
 
Сверху