How to Fix the XAMPP Error: Apache Shutdown Unexpectedly (2024)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi there I'm Victoria and in this video we will learn how to solve a zap error Apache shutdown unexpectedly on Windows and Mac OS [Music] xampp is a popular development tool for building e-site on a local server developers use this software to create new websites test any changes updates and new plugins over themes however just like any other software errors occur in this case the xampp error usually happens when you try to start putting the software this problem can be caused by unexpected shutdown often because of a firewall or antivirus software if that's the case you can change the antivirus settings to allow Apache to run normally or try disabling it temporarily the error may also occur if you are using an outdated Apache version check and download the latest version of Apache from apache.org sometimes simply restarting the software can fix the error however if the problem persists the underlying cause may be a blocked Port as it's one of the most common reasons for the error the default Apache Port is 80 for HTTP and Port 443 for https also used by numerous other programs including Skype and bit torrent if Apache uses the same port as another app it creates a Blog that eventually triggers the error to fix this first quit the application running on the same port as Apache to check which app uses the port you can check listening ports with the netstat command if you can access the root server you can also solve the problem by changing the Apache Port entirely if using Windows change the Apache Port by editing the httpd and HTTP SSL configuration files to do so open the exam software to access its control panel then click the config button next to Apache row to view the drop down menu choose the Apache httpd.com file which will be opened by your system's default text editor app use the Control Plus F shortcut and enter 80 in the search field this will display all lines including the value 80 within the file navigate to the one that shows Port 80 and change its value to any other available Port I'll use 8080 as an example once that's done find the listen 80 command line and change it to the same port in our case it's 8080 once more next find the server name localhost line and update the port to 8080 as well you can now save and close the file now let's move on to http SSL return to the exam control panel and select config next to Apache row again this time choose the Apache HTTP SSL file when the file opens use the Control Plus F shortcut and enter 443 in the search field find lesson 443 and update the port to 4433 next search for the remaining line that uses the 443 Port changing it to 4433 the one we are looking for should be labeled as virtual host default save and close the file click Start to restart the software you should see Apache running as normal the steps for changing the default Apache port settings on Mac OS are slightly different open the exam application manager and go to the manage servers tab choose Apache web server from the list and click configure select open Con file you might see a warning message simply click yes to continue next press the option command F shortcut and enter 80 in the search field locate the line with the listen command and change the port to 8080 save and close the file and click OK return to the zap application manager choose Apache web server from the list and click restart Apache should now run as normal great work that will be all for today like and share this video if you found it helpful oh and don't hesitate to leave a comment or any questions in the comment section below subscribe to hostinger Academy channel for more videos like this thanks for watching and good luck on your online Journey [Music] foreign
Info
Channel: Hostinger Academy
Views: 6,479
Rating: undefined out of 5
Keywords: xampp, xampp mysql error, mysql, xampp server, xampp tutorial for beginners, xampp tutorial, mysql shutdown unexpectedly, mysql tutorial, learn mysql, mysql tutorial for beginners, how to fix xampp error apache shutdown unexpectedly, how to fix the xampp error apache shutdown unexpectedly, how to fix the xampp, how to fix xampp, apache shutdown unexpectedly in xampp, apache shutdown unexpectedly, xampp error, xampp error apache shutdown unexpectedly
Id: NTnyg2Q3arA
Channel Id: undefined
Length: 4min 35sec (275 seconds)
Published: Tue Jun 27 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.