目前下载的2.4版本的压缩包,解压后须要进入到conf/httpd.conf,修改其中的 Define SRVROOT "D:\Apache\httpd-2.4.20\Apache24" , 设置为你的安装根目录。redis
进入到cmd(以管理员身份运行),进入到apache的bin目录下,运行" httpd -k install"安装Apache服务。apache
2.4版本须要安装vcredist 2015cmd