Apache is a prominent web server that is freely distributed under a “open source” license to all Linux-based computers. As you are probably aware, the fundamental role of any web server is to accept and process client requests (visitors). Apache is unusual in that it has sophisticated features such as MPM (multi-processing modes) and mod ssl for enabling SSL v3 and TLS support. The only caveat is that the Apache web server must be optimized. Otherwise, it becomes very limiting in its operation.
STEPS :-
1. Login to whm panel.
![How To Optimize Apache Web Server Via WHM Panel](https://www.infinitivehost.com/knowledge-base/wp-content/uploads/2023/06/apache-img1-1.png)
2. Now expand the “SERVICE CONFIGURATION” and click on “APACHE CONFIGURATION”.
![How To Optimize Apache Web Server Via WHM Panel](https://www.infinitivehost.com/knowledge-base/wp-content/uploads/2023/06/apache-img2.png)
3. In Apache configuration section, click on “GLOBAL CONFIGURATION”.
![How To Optimize Apache Web Server Via WHM Panel](https://www.infinitivehost.com/knowledge-base/wp-content/uploads/2023/06/apache-img3.png)
4. In global configuration, you will need to make changes as per your server configuration.
Here is an example
START SERVERS = 5
MIN SPARE SERVERS = 5
MAX SPARE SERVERS = 5
SERVER LIMIT = 500
MAX REQUEST WORKERS = 500
MAX REQUEST PER CHILD = 4000
TIMEOUT = 20
![How To Optimize Apache Web Server Via WHM Panel](https://www.infinitivehost.com/knowledge-base/wp-content/uploads/2023/06/apache-img4.png)