Home  >  Article  >  Operation and Maintenance  >  How to access apache after it is started

How to access apache after it is started

(*-*)浩
(*-*)浩Original
2019-10-29 10:34:415340browse

How to start apache?

How to access apache after it is started

Open the command line window with cmd and switch to the apache installation directory (Recommended learning: apache use)

cd  C:\MAS\TRSMAS\win31\apache\bin

Install apache server installed Apache services

httpd.exe -k install

Modify configuration file

Edit file: 71dba06429edd5bcb51822b9b5a71115\conf\httpd .conf

Test the configuration file of the service

httpd.exe -n "MyServiceName" –t

Start the installed apache service

httpd.exe -k start

apache Access method after startup (test method)

http://localhost:port

The above is the detailed content of How to access apache after it is started. 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