Basic Apache commands for a local Windows machine

前端 未结 2 874
孤城傲影
孤城傲影 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:47

    Going back to absolute basics here. The answers on this page and a little googling have brought me to the following resolution to my issue. Steps to restart the apache service with Xampp installed:-

    1. Click the start button and type CMD (if on Windows Vista or later and Apache is installed as a service make sure this is an elevated command prompt)
    2. In the command window that appears type cd C:\xampp\apache\bin (the default installation path for Xampp)
    3. Then type httpd -k restart

    I hope that this is of use to others just starting out with running a local Apache server.

提交回复
热议问题