How to Change the XAMPP Server Port Number From 80? How to Fix XAMPP Apache Issues in Windows 10,8,7?
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
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.
- 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:
And changes the line Listen 80 into any number/port you want, for example:
Again within the same Apache (httpd.conf) file, do changes in another line that says:
And change 80 to 8080.
ServerName localhost:8080 and Save the file.
- 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:
And change this 443 into any other number/port you want. For example 4433 as the new port number as:
Again within the httpd-ssl.conf file, go for searching another line that says:
And change 443 to 4433 as:
<VirtualHost _default_:4433> and save file.
- 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.