Home  >  Article  >  Backend Development  >  How to check if apache is installed on the machine

How to check if apache is installed on the machine

angryTom
angryTomOriginal
2019-11-02 14:08:316597browse

How to check if apache is installed on the machine

How to check whether the machine has apache installed

1. How to check under Windows system:

a. First press the Microsoft logo R;

b. Then open the Windows run window and enter services.msc;

c. Then find the corresponding apache, which means apache has been installed.

2. How to check under Linux system:

apachectl -v
httpd -v

If it prompts that there is no command, it is not installed.

3. Viewing method under Mac system:

apachectl -v
httpd -v

The judgment method is the same as above.

Introduction to Apache:

Apache HTTP Server (referred to as Apache) is an open source web server of the Apache Software Foundation that can operate on most computers It is one of the most popular web server-side software that runs on the system and is widely used due to its multi-platform and security. It is fast, reliable and extensible through a simple API to compile interpreters such as Perl/Python into the server.

Apache HTTP server is a modular server, derived from NCSAhttpd server. After many modifications, it has become the world's number one web server software.

It can run on almost all widely used computer platforms.

For more Apache related knowledge, please visit the Apache usage tutorial column!

The above is the detailed content of How to check if apache is installed on the machine. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn