标签归档:fastcgi

[原] PHP bug or Slackware bug? –enable-fastcgi always failed.

On Slackware 12.0, compile php to fastcgi alwayes failed, only get CGI:

so use spawn-fcgi (lighttpd) always get exit.

OH MY GOD…. I tried from php 4.3.0 – php 5.2.0, only php 4.4.4 can get fastcgi:

why??????????????????????

[原]nginx+FastCGI调试成功

终于明白,俺的Linux基本功果然很烂。。。。
FastCGI echo
Request number 1, Process ID: 7422
No data from standard input.

Request environment:

FCGI_ROLE=RESPONDER
GATEWAY_INTERFACE=CGI/1.1
QUERY_STRING=
REQUEST_METHOD=GET
CONTENT_TYPE=
CONTENT_LENGTH=
SCRIPT_NAME=/echo.net
REQUEST_URI=/echo.net
DOCUMENT_URI=/echo.net
DOCUMENT_ROOT=/home/nginx/html
SERVER_PROTOCOL=HTTP/1.1

…..