
Since this error is related to Apache, we’ll focus on those settings. From here, you can update the configuration settings for the server stack. The first step is, of course, to launch XAMPP. Step 1: Open the Configuration Settings from the XAMPP Control Panel If you’re using a Windows device, you can follow these four steps to update your default port settings in XAMPP. How to Fix the XAMPP Error “Apache Shutdown Unexpectedly” in Windows

Get started with DevKinsta today, even if you’re not a Kinsta customer. Looking for a free and powerful local WordPress development tool? DevKinsta features quick and easy site creation, email and database management tools, one-click PHP version switching, and full integration with MyKinsta. We will provide instructions for both operating systems below, starting with Windows. Also, the interface may look a bit different depending on the XAMPP version you’re using. However, the method for resolving the error varies slightly between Windows and macOS. In any event, the easiest fix is to simply modify the XAMPP default settings. Additionally, you may notice that the error message indicates the problem may also be attributed to “missing dependencies, improper privileges, a crash, or a shutdown by another method.” Usually, it means that another application installed on your computer, such as Skype, is using the same port as XAMPP. This message is most commonly caused by a blocked port. However, what may be new to you is the “Apache shutdown unexpectedly” error you’re seeing. If you’re reading this article, we’ll assume you’re already at least somewhat familiar with XAMPP.

You can use XAMPP without having to upload your site’s files to your web hosting service. This means that if you are building a website, you can install WordPress locally on your computer.

It runs PHP and Perl scripts, and is used to develop and test dynamic websites on local machines. XAMPP is a free, open source server stack that includes the Apache server and MariaDB database: The XAMPP website.

Save the changes and then relaunch Visual Studio and open your solution.An Introduction to the XAMPP “Apache Shutdown Unexpectedly” Error You will notice that your new projects likely already have settings for your configurations, BUT they will be set to DEBUG or RELEASE as shown in the example below.Live|Any CPU.Build.0 = Live|Any CPU In the solution file, find the section called GlobalSection(ProjectConfigurationPlatforms) = postSolution.Įach of your projects will have a listing there with the configuration. Then open the solution file in a text editor like Notepad++. I just had the same issue and here is how I fixed it.įirst close Visual Studio and find the project guid from new projects.
