menu

Questions & Answers

Apache shutdown unexpectedly even after changing the ports 80 to 8080 and 443 to 4433 in XAMPP

I got the error

Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
  • even after changing the Listen 80, ServerName localhost:80 to 8080 in httpd.conf Listen 443, <VirtualHost _default_:443>, ServerName www.example.com:443 to 4433 in httpd-ssl.conf
  • and in the config button in xampp, in service and port settings I changed the apache main port to 8080 and SSL port to 4433
  • I also have two XAMPP the version 3.2.4 and the version 3.3.0 both have the same problem when we run apache in their control panel.
  • I also tried to change the php version so I changed the apache folder and the php folder in my old xampp. I downloaded the latest xampp and copied the apache and php folders and paste it to my old xampp, made sure to rename the old apache and php folder.
  • I want to run Apache_Start.bat in shell of xampp control panel but shell wont open
  • also the ports aren't used, I checked it from resmon in windows

I made these changes and its still the error I am receiving in XAMPP control panel.

Comments:
2023-01-23 00:10:04
Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums (As text, not as image). For stackoverflow, make sure it's programming-related (see help center)
Answers(0) :