Search code examples
phpg-wan

How to configure G-WAN to use php-fpm?


As title said, how to configure G-WAN to use 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.


Solution

  • 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 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.