XAMPP Not Working in Windows 10, 8, 7 Fix XAMPP Apache Issues | Enlight Nepal

How to Change the XAMPP Server Port Number From 80? How to Fix XAMPP Apache Issues in Windows 10,8,7?

Fix Developer Issues

Last time My Xampp was working fine. But due to certain changes and modification within the system in Windows, I got this error in Xampp during Apache running process:

2:34:08 PM  [Apache]      Status change detected: stopped

2:34:08 PM  [Apache]      Error: Apache shutdown unexpectedly.

2:34:08 PM  [Apache]      This may be due to a blocked port, missing dependencies,

2:34:08 PM  [Apache]      improper privileges, a crash, or a shutdown by another method.

2:34:08 PM  [Apache]      Press the Logs button to view error logs and check

2:34:08 PM  [Apache]      the Windows Event Viewer for more clues

2:34:08 PM  [Apache]      If you need more help, copy and post this

2:34:08 PM  [Apache]      entire log window on the forums

Fix XAMPP Apache Issues Not Working in Windows 10, 8, 7 | Change Xampp Apache port 80

So here I am with solid proof ideas on how to run Xampp without Apache error or Fix XAMPP Apache Issues in Windows 10,8,7 and it is achieved only through by changing the XAMPP Apache port 80 to some others.

  1. At first, open XAMPP Control Panel. Under Apache, click the “Config” button, and select the Apache (httpd.conf) file. Within httpd.conf file, find the line that says:

Listen 80

And changes the line Listen 80 into any number/port you want, for example:

Listen 8080

Apache file Listen 80 to Listen 8080

 

Again within the same Apache (httpd.conf) file, do changes in another line that says:

ServerName localhost:80

And change 80 to 8080.

ServerName localhost:8080 and Save the file.

Apache file ServerName localhost80 to ServerName localhost80

  1. Secondly, From XAMPP Control Panel, under Apache, click the Config button again, but this time select the Apache (httpd-ssl.conf). Inside the httpd-ssl.conf file, find the line that says:

Listen 443

And change this 443 into any other number/port you want. For example 4433 as the new port number as:

Listen 4433

Apache file ServerName localhost80 to ServerName localhost80

Again within the httpd-ssl.conf file, go for searching another line that says:

<VirtualHost _default_:443>

And change 443 to 4433 as:

<VirtualHost _default_:4433> and save file.

Apache file ServerName localhost80 to ServerName localhost80

  1. Remember to save conf file and httpd-ssl.conf file after you make some changes. Then restart the Apache service.

In this way, you would Fix XAMPP Apache Issues or find your XAMPP i.e. Apache Service is now running fine.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *