第一步:
下载文件
地址:https://httpd.apache.org/docs/current/platform/windows.html
第二步:解压文件,保存到某个文件下

第三步:进入到apche>conf目录下找到httpd.conf,修改其中一项
win10下安装apache,亲测有效
将红线部分的路径换成自己保存apache的路径,注意斜杠要改为‘/’win10下安装apache,亲测有效
第四步:以管理员身份运行cmd,运行方式为win+r,输入cmd后,不按回车,而是按ctrl +shif +enter
再进入到bin目录
C:\Program Files (x86)\Apache\bin
再输入httpd -k install -n “Apache”
显示成功则ok,
最后启动即可
httpd.exe -k start

相关文章:

  • 2021-11-01
  • 2021-08-03
  • 2021-08-30
  • 2021-07-28
  • 2021-12-09
  • 2021-08-30
  • 2021-05-07
猜你喜欢
  • 2021-01-25
  • 2021-08-05
  • 2021-05-07
  • 2021-11-07
  • 2021-12-20
  • 2021-11-01
相关资源
相似解决方案