Install lighttpd and php
- Read http://gentoo-wiki.com/HOWTO_Lighttpd and decide which USE flags you will need. Write those flags into /etc/portage/package.use. Since I plan to use fastcgi and php, I do have at least these two flags set.
- Check php installation. If php was installed but cgi USE flag was off, you have to reinstall php with "USE=cgi".
- Now install lighttpd:
# emerge -v lighttpd - Among the few opcode cache for php, xcache is quite stable on lighttpd. So install that: