This days i've been having problems with my server, until i arrived to a point on I was considering seriously disable Apache and install ngnix, a light server I am using in my laptop and some small projects.
The point is that I don't have noticed a real big performance increment in my laptop (difficult with a few users). Anyway, having to install a new server, disable Apache, tuning everything to work correctly is a good challenge... unless you are at the doors of taking a plane and don't want to be all the trip thinking about the server...
Solution? Ok, let's tuning the Apache2 server, very easy because where are only going to use a2dismod to disable the modules and a2enmod to activate if they give us some error... Easy, right?
Let's go, this is my minimal (by now) apache modules list:
actions.conf alias.conf authn_file.load authz_host.load dir.load fcgid.load mime.load php5.load suexec.load
actions.load alias.load authz_groupfile.load dir.conf fcgid.conf mime.conf php5.conf rewrite.load
You can disable the rest with a2dismod [MODULENAME], for example:
I recommend you to restart your server once disabled. If apache cannot restart, enable the module again with a2enmod [MODULENAME] and try again the restart.
I have to say that last week I've been having a lot of problems... The last thing I did was to tune in that way Apache... and simply magic, sites load incredibly fast with this simply modification.
Now, I can fly withour worries :-).