Exchanging apache2-mpm-prefork for apache2-mpm-worker, and using php5-cgi on Debian to improve performance

Running a webserver on a Xen guest with a limited amount of memory, and serve dynamic content, makes one wanting to optimize it, or switch to another webserver,  like lighttpd. I was close to doing that, but I like my current apache setup, so I tried something else instead, which seems to have worked nicely for me. I switched to apache2-mpm-worker instead of apache-mpm-prefork, which is the default on Debian.

Continue reading “Exchanging apache2-mpm-prefork for apache2-mpm-worker, and using php5-cgi on Debian to improve performance”