Basic Apache commands for a local Windows machine

前端 未结 2 875
孤城傲影
孤城傲影 2020-12-24 14:38

I have installed XAMPP on my Windows 7 machine and created a number of virtual servers. This part is straightforward enough.

Each time I add a new virtual server I a

2条回答
  •  再見小時候
    2020-12-24 14:57

    For frequent uses of this command I found it easy to add the location of C:\xampp\apache\bin to the PATH. Use whatever directory you have this installed in.

    Then you can run from any directory in command line:

    httpd -k restart
    

    The answer above that suggests httpd -k -restart is actually a typo. You can see the commands by running httpd /?

提交回复
热议问题