how to start apache

藏色散人
Release: 2019-08-02 11:39:11
Original
7263 people have browsed it

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

Step 2 Install the apache server installed Apache services

httpd.exe -k install
Copy after login

Step 3 Modify the configuration file

Edit file: \conf\httpd.conf

Step 4 Test the configuration file of the service

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

Step 5 Start the installed apache service

httpd.exe -k start
Copy after login

Step 6 Test the installation results

http://localhost:port
Copy after login

For more Apache related knowledge, please visit the Apache Usage Tutorial column!

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

Related labels:
source:php.cn
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
Popular Tutorials
More>
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!