Home>Article>Operation and Maintenance> how to start apache

how to start apache

藏色散人
藏色散人 Original
2019-08-02 11:39:11 7153browse

how to start apache

How to start apache?

Step 1 Open the command line window with Cmd and switch to the apache installation directory

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

Step 2 Install the apache server installed Apache services

httpd.exe -k install

Step 3 Modify the configuration file

Edit file: 71dba06429edd5bcb51822b9b5a71115\conf\httpd.conf

Step 4 Test the configuration file of the service

httpd.exe -n "MyServiceName" –t

Step 5 Start the installed apache service

httpd.exe -k start

Step 6 Test the installation results

http://localhost:port

For more Apache related knowledge, please visit theApache Usage Tutorialcolumn!

The above is the detailed content of how to start apache. 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