OpenWrt Forum Archive

Topic: thttpd: unknown user - 'nobody'

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

I have installed thttpd-php but I can't  run any php scripts.
I made chmod
I placed test.php to the www/openwrt directory.
The browser downloads the php source  :cry:  .
Any ideas would be welcome.

This is my top output:

  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
 1605 0        R        396     1 99.9  1.2 vi
 4787 0        R        388  1606  2.9  1.2 top
 1606 0        S        532   360  0.0  1.7 ash
  286 0        S        380     1  0.0  1.2 udhcpc
    1 0        S        376     0  0.0  1.2 init
  348 0        S        376     1  0.0  1.2 dnsmasq
  355 0        S        368     1  0.0  1.2 httpd
 4678 0        S        368     1  0.0  1.2 httpd
   31 0        S        336     1  0.0  1.1 syslogd
  360 0        S        308     1  0.0  1.0 telnetd
    3 0        RWN        0     1  0.0  0.0 ksoftirqd_CPU0
    7 0        SW         0     1  0.0  0.0 mtdblockd
    2 0        SW         0     1  0.0  0.0 keventd
    5 0        SW         0     1  0.0  0.0 bdflush
    6 0        SW         0     1  0.0  0.0 kupdated
   16 0        SWN        0     1  0.0  0.0 jffs2_gcd_mtd4
    4 0        SW         0     1  0.0  0.0 kswapd

The discussion might have continued from here.