How to start apache?
Open the command line window with cmd and switch to the apache installation directory (Recommended learning: apache use)
cd C:\MAS\TRSMAS\win31\apache\bin
Install apache server installed Apache services
httpd.exe -k install
Modify configuration file
Edit file:
Test the configuration file of the service
httpd.exe -n "MyServiceName" –t
Start the installed apache service
httpd.exe -k start
apache Access method after startup (test method)
http://localhost:port
The above is the detailed content of How to access apache after it is started. For more information, please follow other related articles on the PHP Chinese website!