Step 1: Open the Configuration Settings from the XAMPP Control Panel The first step is, of course, to launch XAMPP.
Step 2: Change the Default Port Settings of the httpd.conf File From the menu of files, click on Apache (httpd.conf).
Step 3: Update the Default Port Settings in the http-ssl.conf File Now it’s time to move on to the second file.
Step 4: Restart Apache
An easy way when you need to solve Apache error: Sudden shutdown. This could be due to falling back to a blocked port, missing dependencies, illegitimate benefits, crashing, or shutting down in some other way. Click the Logs button to see the error logs and see most of the Windows Event Viewer for more details if needed. More help, posts and posts in this forum log panel.
How to reduce XAMPP error: Stop Apache unexpectedly. This may be due to a blocked port and lack of dependencies with the Windows 10 operating system.
By default, this Apache application uses the same default city settings as the Apache server during XAMPP. This might be the cause of the “Apache Stops Unexpectedly” error. If you’re using macOS, you can follow these four steps to make sure you’re updating the default fan settings.
Open Control Panel or Power Options Panel. 2. From the menu to the left of the person, select what the power buttons do. 3. Select Change settings that are currently difficult to access. 4. Scroll down to the settings in the Shut down section.
How do you fix 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
I did it like this.
- Open our own XAMPP config panel.
- Click Config.
- Then start Apache httpd. conf file. Open a text editor with it.
- Search for “80” (Ctrl + F, in addition to find everything. Set it to 8080 or 4040 or whatever 4000).
- Save file. And restart XAMPP.
How do you fix error Apache shutdown unexpectedly this may be due to a blocked port missing dependencies improper privileges a crash or a shutdown by another method?
The XAMPP “Apache Quits Unexpectedly” error is most commonly caused by programs such as Skype that run using the default Apache port. As we have seen in this article, the least complicated way to solve this problem is usually to update the Apache configuration of the XAMPP build. You can do this by entering the httpd keywords. conf and remove any http-ssl.
How do you fix error MySQL shutdown unexpectedly this may be due to a blocked port missing dependencies improper privileges a crash or a shutdown by another method?
How to fix MySQL unexpected shutdown
- Rename the xampp/mysql/data folder to xampp mysql/data_bk.
- Create a new xampp/mysql/data directory.
- Copy the content located during xampp / mysql/backup to restore a folder like mysql/data.
- Copy all database folders located in mysql/data_bk to xampp for xampp/mysql/data.

Ermias is a tech writer with a passion for helping people solve Windows problems. He loves to write and share his knowledge with others in the hope that they can benefit from it. He’s been writing about technology and software since he was in college, and has been an avid Microsoft fan ever since he first used Windows 95.