Script to spawn php5-cgi to enable Nginx to serve PHP code/pages
Mark Alan
varia at e-healthexpert.org
Mon Nov 3 16:13:18 MSK 2008
Phillip B Oldham wrote:
>> DAEMON_ARGS="-q -b 127.0.0.1:9000"
> Isn't it better to use a unix socket for connection?
>
> `/usr/bin/php-cgi -q -b unix:/tmp/php-fastcgi`
Why?
Unix sockets will need buffers in kernel memory instead of simply using
the file system. If that is better or worse is something that need
further testing. Have you tested it?
M.
More information about the nginx
mailing list