Home > Article > Operation and Maintenance > 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 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!