[英]Is there a SAPI module for PHP 5 for supporting the thttpd web server?
Is there a SAPI module for PHP 5 for supporting the thttpd web server?是否有用于支持 thttpd Web 服务器的 PHP 5 SAPI 模块? Oddly, the one included on PHP 5.2.6 source is for PHP 4.x.
奇怪的是,包含在 PHP 5.2.6 源代码中的源代码是针对 PHP 4.x 的。
Thanks, Kenneth谢谢,肯尼斯
The thttpd SAPI that ships with PHP 5 works. PHP 5 附带的 thttpd SAPI 可以工作。 Ignore the README where it says "PHP 4".
忽略写着“PHP 4”的自述文件。
However, understand that PHP for thttpd is single-threaded.但是,请了解用于 thttpd 的 PHP 是单线程的。 All other requests will stall while PHP is executing.
PHP 执行时,所有其他请求都将停止。 This is might be acceptable for a low traffic site or embedded application.
对于低流量站点或嵌入式应用程序,这可能是可以接受的。 If not, I recommend trying nginx , another lightweight web server that runs PHP in a separate process via FastCGI.
如果没有,我建议尝试nginx ,这是另一个通过 FastCGI 在单独进程中运行 PHP 的轻量级 Web 服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.