OpenWrt Forum Archive

Topic: Can't start lighttpd with php enabled

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am trying to get php5 working with lighttpd.  I can get both packages to compile, but when I go to start lighttpd, I get the following error:
2000-01-01 00:10:41: (mod_fastcgi.c.890) failed: Address family not supported by protocol
2000-01-01 00:10:41: (mod_fastcgi.c.1356) [ERROR]: spawning fcgi failed.
2000-01-01 00:10:41: (server.c.834) Configuration of plugins failed. Going down.

From what I can tell the problem is that I don't have support for unix stream sockets.  However, I have no idea if this is because something is busted in OpenWRT or in my kernel.  Anyone know of a way to tell what's going on?

I'm doing this on a Routerboard 100 with Microtik's patch, so it's quite possible something is busted in it.  Is there some kernel config option that could disable support for unix stream sockets?

Fixed my problem.  Turns out I was compiling unix sockets as a module and so it didn't get installed to my filesystem.

The discussion might have continued from here.