A word about /var/run for sockets : since it's a tmpfs, folders are not kept, so it's up to the fastcgi backend to create them. Unfortunately, that doesn't work when spawning is done by the httpd-fcgi server : lighttpd, given a "socket => /var/run/myapp/socket" option, does not create /var/run/myapp. Jérémy.