How to check if Apa...
 
Share:
Notifications
Clear all

How to check if Apache is installed on a Ubuntu machine?


Neha
 Neha
(@asha)
Member Admin
Joined: 1 year ago
Posts: 27
Topic starter  

Is there a way to check if Apache is installed on my Ubuntu 18.0 machine?

I am trying to installĀ LAMPĀ on my Ubuntu installation.


Quote
Topic Tags
myTechMint
(@mytechmint)
Member Moderator
Joined: 1 year ago
Posts: 29
 

Use Below Command to check if Apache is installed on a Ubuntu machine.

dpkg --get-selections | grep apache

Output:

apache2 install
apache2-bin install
apache2-data install
apache2-utils install

Command:

apache2 -v

Output:

Server version: Apache/2.4.18 (Ubuntu)
Server built: 2019-10-08T1325
This post was modified 1 month ago by myTechMint

Neha liked
ReplyQuote