June 13, 2024

Tips to Boost the Performance of Your Apache Web Server

The majority of the world’s websites’ has been hosted on Apache web server. Besides of NGINX and IIS, Apache has been the first priority for all system administrator. Thus, if you are a system administrator and want your Apache to perform at its best, then just follow this article.

TIP #1: Keep your Apache version updated

Keeping your Apache server update means all the necessary bugs have been fixed and it has been updated keeping on mind the needs of the future technology.

To check your current Apache version type the following command

# httpd -v               [On RedHat/CentOS ] 
# apache2 –v [On Debian/Ubuntu ]

Tip #2: Enable Multi-Processing Module (MPM) as per your need

MPM basically extends the modular functionality of a network in order to use the child process for every single connection made, it basically binds the web server to network ports on the machine.

To enable this just follow:-

Open the following file location

# /etc/httpd/conf.modules.d/00-mpm.conf    [On RedHat/CentOS based]
# /etc/apache2/mods-available/<mpm>.load [On Debian/Ubuntu based]

And un-comment the following line:

LoadModule mpm_event_module modules/mod_mpm_event.so

To enable this you will have to install the following packages-

For CentOs/RedHat you will have to install this package named php-fpm

For Debian/Ubuntu you will have to install this package named

Search this package on internet and you will be able installed this packages

Lastly don’t forget to restart your web server

Tip #3: Update your Kernel if you are using older kernel like 2.4

To check your current kernel version run the following command

# uname -r

Although updating the kernel is not a beginning task and itself it is an interesting task to learn.

Vedant Kumar

Currently I'm working as an Implementation Engineer, Started my career as an System Administrator - Linux. Additionally loves to explore new technologies and research about new open-source software that ease the development cycle.

View all posts by Vedant Kumar →

Leave a Reply

Your email address will not be published. Required fields are marked *

The reCAPTCHA verification period has expired. Please reload the page.


Ad Blocker Detected!

We've noticed that you are using an ad blocker. Advertising helps fund our server cost and keep it truly independent. It helps to build our content creator team. So please disable your ad blocker, and help us to keep providing you with free- great content - for free. Thank you for your support.