Optimizing Apache Performance?....

Can anyone direct me to some doc’s or how-to’s that will show me the best recommended settings for optimum performance for both apache and php configurations?

p.s. I posted this over in the applications forum, but after thinking about it, it should have been posted here.

VcDeveloper1 wrote:
> Can anyone direct me to some doc’s or how-to’s that will show me the

do you mean in addition to these:
openSUSE specific: http://tinyurl.com/yauonde
SUSE/SLES specific: http://tinyurl.com/yh2c2a7
generic linux: http://tinyurl.com/yhcqypy


Your question is very general and the “best recommended settings” depend on the specific sites you intend to host.

Start at the top and optimize the website; combine css/php/javascript files when possible, enable gzip compression through mod_deflate, minimize .htaccess rules and rewrites, spread content across multiple domains, optimize images, etc etc. A poorly-designed site can clobber even the best setup.

If you need more performance/functionality, the next layer is the php/apache layer: what apache mpm to use, what settings to put in php.ini (“best” depends on your website), php session management, how you are handling virtual hosts and permissions, so on an so forth, ab2 is your friend.

The final layer would be the OS, you can do little tricks like use the ‘noatime’ option for your filesystem, using hdparm, blah blah blah, but generally I’ve found these to be a waste of time for the result.