Skip to content
Home » How to kill apache process in linux

How to kill apache process in linux

Let’s start the discussion about How to kill apache process in linux in following methods.

On the World Wide Web, Apache is typically used to serve both static content and dynamic Web pages. Many web applications are built with the environment and functionality that Apache provides in mind. On Linux or Unix-like systems, Apache can be started or restarted using any of the methods listed below.

How to kill apache process in linux

To kill a Apache process in linux we can use netstat command like below :

sudo netstat -nap | grep :80

You’ll see apache2 and there is 3–4 digit numbers before it, use it to kill process like:

sudo kill [number]

I hope the strategies listed above work for you. Happy coding and come back again.

Similar Post : gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation