Apache service failed to restart.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache service failed to restart.

Postby fuzmic » 03. May 2020 12:27

Hi gurus

Just tried my hands on XAMPP, installing in win10 using v7.2.30 - 64 bit. It works ok as the Control Panel allows starting of apache & mysql services. Hence my restore website & its mysql databate works fine.

Next i wanted to play with virtual host and start tinkering with 2 files i). httpd-vhosts.conf in apache and ii) host in window.sys32.drivers.etc folder.

I next try restart the 2 above services. At this point the apache service fail to restart.
Thus I then put back the original 2 files, but sitll apache service can't start.

what's happening, help the freshie. Thank you.
fuzmic
 
Posts: 23
Joined: 03. May 2020 12:17
XAMPP version: 7.2.30
Operating System: win 10

Re: Apache service failed to restart.

Postby fuzmic » 04. May 2020 05:35

I read the sticky topic on failure to start Apache hence now run Control Panel v3.2.4 as Admin.

Solved: on further checking i found a error i inflicted an error line on httpd.conf ie use following instead of comment line off with #
Virtual hosts
Include conf/extra/httpd-vhosts.conf


So NOW back to playing learning to set up virtual hosts.
fuzmic
 
Posts: 23
Joined: 03. May 2020 12:17
XAMPP version: 7.2.30
Operating System: win 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests