Home  >  Article  >  Operation and Maintenance  >  How to start apache under windows

How to start apache under windows

王林
王林forward
2020-06-19 17:10:088174browse

How to start apache under windows

The specific steps are as follows:

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

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

(Recommended tutorial: apache from entry to proficiency)

2. Install the apache server

installed Apache services
httpd.exe -k install

3. Modify the configuration file

Edit the file: f5a737200194ea13f5ca2a289b481baa \conf\httpd.conf

4. Test the configuration file of the service

httpd.exe -n "MyServiceName" –t

5. Start the installed apache service

httpd.exe -k start

6. Test installation results

http://localhost:port

The above is the detailed content of How to start apache under windows. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete