Link to home
Start Free TrialLog in
Avatar of xserverx
xserverxFlag for United States of America

asked on

how do I speed up my httpd,php and mysql ?

Hello
I have a server the load average don't get more than 0.5 but I hjave my sites working slowly how do I speed up my server to chow my site very fast . ?
what hardware make my server work very fast ?
what software should I install to make  my server work very fast ?
thank you
Avatar of ai_ja_nai
ai_ja_nai
Flag of Italy image

First of all, compile apache with MPM worker and not prefork. (even if by default it should use worker).

Then, you should use a multicore machine, so that every concurrent connection gets elaborated by a dedicated core.
But there are other factors, like RAM, which have to hold all the databases referecend and all the web pages.
And don't forget the bandwidth.

You should provide more informations of your type of website, the usage statistics and the current system you own
Avatar of xserverx

ASKER

ai_ja_nai, why MPM worker and not prefork ??
how do I setting up worker directives is there any rules to calculate worker directives values ?
what about php cache ?
ASKER CERTIFIED SOLUTION
Avatar of ai_ja_nai
ai_ja_nai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why did you leave a C? Were you unhappy with your solution?