如何配置G-WAN以使用php-fpm? [英] How to configure G-WAN to use php-fpm?
问题描述
正如标题所述,如何配置G-WAN以使用php-fpm?
As title said, how to configure G-WAN to use php-fpm?
当前将lighttpd与php-fpm一起使用.听说G-WAN可能更轻巧,想尝试一下.但是下载该软件包并使其运行后,似乎无法找到有关php-fpm设置的任何文档.
Currently using lighttpd with php-fpm. Heard G-WAN maybe even lighter, want to give it a try. But after downloading the package and have it running, doesn't seems to be able to find any doc about php-fpm setup.
推荐答案
要具有G-WAN支持FastCGI
,您必须编写G-WAN handler
.我们之所以没有这样做,是因为FastCGI
是一个比G-WAN 进程地址空间中加载的语言运行时慢得多的接口.
To have G-WAN support FastCGI
you would have to write a G-WAN handler
. We did not do that because FastCGI
is a much slower interface than the language runtime loaded in the G-WAN process address space.
G-WAN当前支持PH7
(多核,作为模块加载,例如Java
,C#
,C++
或Objective-C
),我们使用Zend PHP
作为模块的努力失败了. :一旦两个G-WAN线程调用它,此PHP运行时就会崩溃.
G-WAN currently supports PH7
(multicore, loaded as a module, like Java
, C#
, C++
, or Objective-C
) and our efforts to use Zend PHP
as a module failed: this PHP runtime crashes once two G-WAN threads calls it.
这篇关于如何配置G-WAN以使用php-fpm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!