Forum

Running FastCGI as socket ?

Amar
29 July 2011, 15:23
Hello Hugo

Is it possible to run FastCGI daemon as unix sock? Also, Is it possible that every user have different sock(or port). I am looking at docs and hiawatha.conf and from what I see that example wants to run all PHP stuff thru 2005 port..

Hiawatha version: 7.5
Operating System: Debian
Hugo Leisink
29 July 2011, 15:45
Yes, you can use UNIX sockets. Search for "UNIX socket" in the manual page.

You can run as many FastCGI daemons as you want and run each daemon under a different user id if you want.
Amar
29 July 2011, 20:07
Thanks Hugo,got it..

Now, is MaxRequests and Forks options somehow possible per user/proces/server ?

Best
Hugo Leisink
29 July 2011, 21:46
Not via php-fcgi. But unless you have some very high profile website, the default settings should be just fine.
This topic has been closed.