On Fri, Mar 29, 2013 at 7:19 PM, Daniel Fahlke <email@example.com> wrote:
2013/3/30 Steve Vinoski <firstname.lastname@example.org>
On Fri, Mar 29, 2013 at 6:31 PM, Daniel Fahlke <email@example.com> wrote:
The php-fpm allows listening on a socket, so i wonder if yaws does support connecting to a fcgi server via socket. The documentation of the manual does only cover the host:port way.Hi all,Iam currently working on my configuration for using php with fcgi.
Hi Daniel, sorry but I don't understand the question. Yaws always connects to an FCGI server listening for incoming socket connections -- specifying a hostname or IP address, along with a port number, is always how you connect. How else are you wanting to connect? Can you provide an example, or point me to an example on some website?--stevethe part "List of pool directives" the first one "listen"The address on which to accept FastCGI requests. Valid syntaxes are: 'ip.add.re.ss:port', 'port', '/path/to/unix/socket'. This option is mandatory for each pool.does this help?
Yes, thanks Daniel, that does help. I guess you're asking if Yaws FCGI support can handle UNIX domain sockets? If so, then no, at least not easily -- to the best of my knowledge Erlang supplies only an old experimental driver for UNIX domain sockets, and I don't know how well or even if it works as I've never used it. But I know Erlang drivers pretty well, so it might be possible to add such support, depending on how soon you're looking for it.--steve