首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 对直接服务器返回技术nginx的运行PHP / 5.3

对直接服务器返回技术nginx的运行PHP / 5.3

资 源 简 介

PHP-DWS is the abbreviation for "PHP Direct Web Server". It works much like fastcgi server with nginx, But nginx pass the request header of HTTP and socket file description of this connection to it via calling sendmsg(), and then PHP-dws read request body data from http connection , send response data to the http connection directly. I simply draw their work in the following flow diagram: ``` [PHP-CGI] ============ i)request header+body ii)request header+body +~~~~>~~~~>~~~~>~~~+ +~~~~~>~~~~~>~~~~>~~~~~+ | | | | /| |/ / |/ WebVisitor Web Server FastCGIServer (user) (nginx)

文 件 列 表

sapi
dws
VIP VIP
0.221748s