怎么启动apache?

cmd打开命令行窗口,切换到apache安装目录下 (推荐学习:apache使用)
cd C:MASTRSMASwin31apachebin
安装apache服务器 installed Apache services
httpd.exe -k install
修改配置文件
编辑文件:<安装目录>confhttpd.conf
测试该服务的配置文件
httpd.exe -n "MyServiceName" –t
启动已安装的apache服务
httpd.exe -k start
apache启动后的访问方式(测试方式)
http://localhost:port









