How to start apache under windows

王林
Release: 2020-06-19 17:10:08
forward
8133 people have browsed it

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
Copy after login

(Recommended tutorial:apache from entry to proficiency)

2. Install the apache server

installed Apache services
Copy after login
httpd.exe -k install
Copy after login

3. Modify the configuration file

Edit the file: \conf\httpd.conf

4. Test the configuration file of the service

httpd.exe -n "MyServiceName" –t
Copy after login

5. Start the installed apache service

httpd.exe -k start
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!