Error apache shutdown unexpectedly windows 10 xampp

Apache не запускается из панели управления XAMPP в Windows 10

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Фактически, порт 80 на компьютере также был портом TCP / IP по умолчанию, который модуль Apache использует на XAMPP. А поскольку два разных приложения не могут использовать один и тот же сетевой порт, вам необходимо остановить его перед запуском сервера Apache XAMPP. Если вы также столкнулись с этой проблемой на своем устройстве, есть несколько простых способов, которые я упомянул в этом руководстве. Итак, начнем.

Apache не запускается из панели управления XAMPP

Очистка службы публикации в World Wide Web была бы лучшим подходом, чтобы снова запустить Apache. Однако вы также можете получить его, изменив номер порта TCP / IP или остановив службу, если это необходимо. Итак, чтобы исправить запуск Apache на панели управления XAMPP, выполните следующие возможные действия:

Давайте посмотрим на них подробно.

1] Clear World Wide Web Services

Чтобы решить начальную проблему службы Apache, вам необходимо очистить всемирную паутину от вашего устройства. Но прежде чем начать, убедитесь, что у вас нет приложений, использующих этот сервис.

Если все в порядке, откройте панель управления в вашей системе Windows.

После того, как он откроется, выберите для просмотра панели управления параметр «Большие значки» или «Маленькие значки», чтобы можно было видеть все элементы панели управления.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Из доступных элементов выберите Программы и компоненты.

В левой боковой панели есть ссылка «Включение или отключение функций Windows», нажмите на нее.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

В диалоговом окне «Функции Windows» разверните Информационные службы Интернета.

Теперь снимите флажок «World Wide Web Services» и нажмите кнопку «ОК», чтобы сохранить изменения.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Выполнив вышеуказанные действия, перезагрузите устройство. После этого откройте панель управления XAMPP и нажмите кнопку «Пуск» в Apache. Теперь он должен работать в порту 80 на вашем компьютере.

2] Изменить порт Apache TCP/IP по умолчанию

Если по какой-либо причине вышеуказанный обходной путь не работает для вас, вам необходимо настроить Apache для выполнения на другом порту TCP/IP. Итак, следуйте этим советам:

Откройте панель управления XAMPP на вашем устройстве Windows.

Нажмите на кнопку Config модуля Apache.

Выберите пункт Apache (httpd.conf) в списке всплывающего меню.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

На следующей странице блокнота вам нужно найти Listen 80.

Чтобы упростить поиск, нажмите сочетание клавиш Ctrl + F. Во всплывающем меню введите то, что вы хотите найти. Марк Wrap вокруг флажка, оставить дело Match бесконтрольно, а затем нажмите на Find Next кнопку.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Как только вы найдете соответствующую строку, измените номер порта на любой произвольный номер по вашему выбору.

Например, вы можете попробовать порт 121. Тогда соответствующий результат для номера порта TCP/IP будет что-то вроде — Listen 121.

Нажмите сочетание клавиш Ctrl + S, чтобы сохранить изменения в блокноте.

После правильного выполнения вышеуказанных шагов, проблема запуска Apache в XAMPP будет исправлена.

3] Остановите издательский сервис World Wide Web

В качестве альтернативы вам необходимо остановить службу публикации в Интернете и изменить ее параметры, чтобы она могла быть запущена только вручную. Итак, начнем:

Чтобы остановить службу публикации в Интернете, сначала необходимо открыть диспетчер служб Windows на компьютере с Windows 10.

На экране «Службы» найдите параметр «Служба публикации в Интернете» в столбце «Имя».

Как только вы найдете, дважды щелкните по нему, чтобы открыть окно свойств.

В окне свойств по умолчанию открывается вкладка Общие.

На вкладке General найдите тип запуска и переключите его на Manual. Это позволит вам запустить службу вручную, когда это потребуется.

Продвигаясь вперед, остановите статус работающей службы и нажмите Apply > кнопку OK.

Теперь откройте панель управления XAMPP и нажмите кнопку «Пуск», чтобы запустить сервер Apache.

Вот и все. Я надеюсь, что это руководство поможет вам исправить проблему запуска службы Apache на панели управления XAMPP.

Источник

XAMPP: не удалось запустить Apache (Windows 10)

Я использую XAMPP, и я могу запустить Apache, но MySQL (PhpMyAdmin) запускается!

Когда я начинаю, я получаю эту ошибку;

Я также удаляю Skype (Windows 8/10 / Metro версия). Ничего не работает. В httpd.conf у меня есть;

Я запускаю его через apache_start.bat и получаю;

Пожалуйста, обратите внимание, что все файлы LOGS не существуют!
Скайп удален.

Если вам нужна дополнительная информация, пожалуйста, спросите меня.

Решение

Обновление: 15 мая 2018 года:

Последнее обновление Windows 10 (повторно) активировало World Wide Web Publishing Service (на немецком: WWW-Publishingdienst). Это может зависеть от параметров, которые вы выбираете во время настройки обновления, которое вы можете сделать позже.

Если вы сделали чистую установку Windows 10, у вас может не быть Word Wide Web Publishing Service. В этом случае простая установка WAMP / XAMPP должна работать нормально.

Если это не так, попробуйте установить Visual C ++ распространяемый а затем переустановите WAMP / XAMPP.

Я столкнулся с аналогичной проблемой с WAMP. В Windows 10 TP Word Wide Web Publishing Service поставляется предварительно установленным Это связано с IIS, и вы можете удалить его, если он вам не нужен.

Это блокирует порт 80 заставляя Apache вести себя странно. Вы можете сделать следующее и попробовать еще раз.

Это должно сделать порт 80 бесплатный и перезапуск WAMP / XAMPP должен запустить вас!

Другие решения

Решить эту проблему легко:

Теперь вы можете нажать в WAMPP и перезапустить все сервисы. Откройте браузер и перейдите к «localhost».

Если вам нужно запустить W3SVC снова,

Я нашел способ решить эту проблему:

Если это не работает,

Если это не сработало и «Служба публикации в Интернете» была недоступна,

Вы можете изменить порт apache:

NameVirtualHost *: 80 здесь

VirtualHost *: 80 и здесь (два раза)

2. Идти к

Изменить значение Start до 4, что означает отключение.

3. Перезагрузите компьютер

Я перепробовал все перечисленные здесь ответы, но ни один из них не сработал.

Затем все, что я сделал, это перезапустил XAMPP с правами администратора:

Меню «Пуск» — щелкните правой кнопкой мыши на XAMPP — выберите «Запуск от имени администратора».

Это сработало. Это так просто.

Я удалил службы IIS, остановил службы WWW, изменил порты на 80, заблокировал все соединения apache и mysql из брандмауэра Windows 10, но да, он все еще работает!

Я тоже исправил эту проблему, но мне пришлось изменить пару вещей. Мне нужно, чтобы на моей машине с Win10 я держал свою среду разработки на C # и VS, чтобы я не хотел возиться с какими-либо сервисами. Все, что мне нужно было сделать, это загрузить последнюю версию XAMPP и изменить порты прослушивания для 80 и 443. Они были расположены в 2 файлах:

Изменение выше с порта 80 на 122 и с 443 на 444 позволило мне запускать apache и обслуживать страницы, оставляя все остальное таким же для моей разработки ASP. Надеюсь, это поможет кому-то там. В конце концов, это очень просто исправить.

Направьте ваш браузер на: http://localhost:122

Похоже, есть много вариантов ответа, это зависит от ваших окон. Вот мой опыт, когда возникла та же проблема в Windows 10 при новой установке и исправлении проблемы следующим шагом:

ПРИМЕЧАНИЕ. Я использую версию XAMPP 5.6.15 и панель управления XAMPP версии 3.2.2.

Источник

SLUSAR.SU

Логово Программиста

Ошибка XAMPP не запускается APACHE. Решение.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Если у вас возникла подобная ошибка на OpenServer, вот РЕШЕНИЕ.

Если вы используете XAMPP в качестве настольного сервера для разработки web приложений, то наверняка рано или поздно столкнетесь с проблемой запуска сервера Apache. Зачастую это связано с тем, что какое-то приложение заняло порт 80. В основном — это Skype. Но иногда даже отключение скайпа не возвращает сервер к жизни и вы все равно видите эту ошибку:

[Apache] Error: Apache shutdown unexpectedly.
[Apache] This may be due to a blocked port, missing dependencies,
[Apache] improper privileges, a crash, or a shutdown by another method.
[Apache] Press the Logs button to view error logs and check
[Apache] the Windows Event Viewer for more clues
[Apache] If you need more help, copy and post this
[Apache] entire log window on the forums

Решение этой проблемы имеется. Для начала можно попробовать изменить порты.

Запускаем Xampp, жмем Config и в появившемся окне выбираем Service and Port Settings где и меняем порты.
Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

Но, и это не всегда помагает, поэтому нужно внести изменения в конфигурационный файл Apache.

Для этого жмем на Config напротив Apache и выбираем первый пункт Apache(httpd.config), где находим строчки:

#Listen 12.34.56.78:80
Listen 80

#Listen 0.0.0.0:80
#Listen [::]80

После чего еще раз пробуем запустить Apache и убеждаемся, что все работает.

Лучше использовать порт 8080, если и это не работает, плюс у вас стоит windows 10. Тогда придется отключать порт 80 в ручную.

также процесс может занимать skype iis sgl — проверьте их сначала

Этот способ я нашел тут https://toster.ru/q/235880

21 идей о “ Ошибка XAMPP не запускается APACHE. Решение. ”

Спасибо за статью, помогло. после правки httpd.config, Кстати маленькое замечание у меня файл назывался httpd.conf XAMPP v.3.22

+
помог вариант
#Listen 0.0.0.0:80
#Listen [::]80

#Listen 0.0.0.0:80
#Listen [::]80

помог этот вариант!

Спасибо, в httpd.config не было «#» во второй строке после Listen, и порт пришлось поменять на 8080

Спасибо огромное. Помогло)))))

У меня виртуальная машина VMVARE занимала порты, убив процесс АПАЧ запустился

15:50:27 [Apache] Status change detected: stopped
15:50:28 [Apache] Problem detected!
15:50:28 [Apache] Port 80 in use by «Unable to open process» with PID 4!
15:50:28 [Apache] Apache WILL NOT start without the configured ports free!
15:50:28 [Apache] You need to uninstall/disable/reconfigure the blocking application
15:50:28 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
15:50:28 [Apache] Attempting to start Apache app…
15:50:28 [Apache] Status change detected: running

К сожалению, не помогло ничего
Win 7 SP1
VMWare 12
xampp-win32-7.1.4
Самостоятельно и без проблем запускается Apache x86 1.3.41
Придется жить так…

Можно порты поставить 8080 и 4433 на апач и ссл в httpd.conf и httpd-ssl.conf.
Если не запускается апач даже после смены портов, попробуйте в командной строке запустить c:\xampp\apache\bin\httpd.exe (или ваш путь к httpd.exe).
Покажет, где ошибка — у меня банально тег не закрытый в httpd-vhosts.conf был, в логах xampp этого видно не было.

Спасибо за совет, запуск в командной строке помог найти ответ)

Спасибо за совет! Помогло разобраться

Спасибо большое, мне помог первый этап.
Всё заработало, после:

#Listen 0.0.0.0:80
#Listen [::]80

Starting Apache Web Server…
/opt/lampp/apache2/scripts/ctl.sh : httpd started

Подскажите шото мне делать?

Столкнулся с этой проблемой после обновления и улучшения версии. Помогло #Listen 0.0.0.0:80
#Listen [::]80
Спасибо.
ps Хотя я снес и скайп и реестре перепрописал все ))) и порты другие поставил )))

Слишком мудрено, просто заремте строчку решеткой
#Listen 80
а эти строчки вообще не участвуют в работе
#Listen 0.0.0.0:80
#Listen [::]80

Сработал вариант отключать порт 80 в ручную.

Win+R вводим “regedit”
1)Ищем ветку «HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP»
2)Меняем значение ключа “start” с 3 на 4…иногда помогает 0
3)Создаем параметр типа Dword c именем «NoRun» и присваиваем ему значение «1» без кавычек.
4)перезагружаемся

Благодарю за помощь! Помог способ с реестром.

Добавить комментарий Отменить ответ

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.

Источник

How to Fix the XAMPP Error “Apache Shutdown Unexpectedly”

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

XAMPP is a helpful development tool. However, you may run into problems at some point, such as receiving the notification: “Apache shutdown unexpectedly”. This error might seem to come out of nowhere, so identifying the cause – let alone the solution – can be puzzling.

Fortunately, there is a common explanation for Apache’s sudden shutdown. With a few simple modifications, you should be able to fix the problem and get Apache up and running again. All you have to do is update some settings in the configuration files.

In this article, we’ll discuss the common cause of this Apache error in XAMPP and then walk you through four steps to fix it, both on Windows and macOS.

An Introduction to the XAMPP “Apache Shutdown Unexpectedly” Error

XAMPP is a free, open source server stack that includes the Apache server and MariaDB database:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

It runs PHP and Perl scripts, and is used to develop and test dynamic websites on local machines. This means that if you are building a website, you can install WordPress locally on your computer. You can use XAMPP without having to upload your site’s files to your web hosting service.

If you’re reading this article, we’ll assume you’re already at least somewhat familiar with XAMPP. However, what may be new to you is the “Apache shutdown unexpectedly” error you’re seeing.

This message is most commonly caused by a blocked port. Usually, it means that another application installed on your computer, such as Skype, is using the same port as XAMPP. 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.”

In any event, the easiest fix is to simply modify the XAMPP default settings. However, the method for resolving the error varies slightly between Windows and macOS. Also, the interface may look a bit different depending on the XAMPP version you’re using. We will provide instructions for both operating systems below, starting with Windows.

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. Get started with DevKinsta today, even if you’re not a Kinsta customer.

How to Fix the XAMPP Error “Apache Shutdown Unexpectedly” in Windows

If you’re using a Windows device, you can follow these four steps to update your default port settings in XAMPP.

Step 1: Open the Configuration Settings from the XAMPP Control Panel

The first step is, of course, to launch XAMPP. This will open the XAMPP control panel. From here, you can update the configuration settings for the server stack.

Since this error is related to Apache, we’ll focus on those settings. In the “Apache” row of options, click on the Config button.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The XAMPP control panel in Windows.

This will open a drop-down menu of files. We’re going to be editing two of these files, starting with httpd.conf.

Step 2: Change the Default Port Settings of the httpd.conf File

From the menu of files, click on Apache (httpd.conf). Once you do, the file will open in your computer’s default text editor:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The Apache (httpd.conf) file in XAMPP control panel.

Within this file, there are three settings you’ll want to update. To get started, press Ctrl + F, then enter “80” in the search field:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The Apache httpd.conf file in Windows.

This will display all instances of the number 80 in the file. Locate “Port 80” and change it to “Port 8080”. Once the port setting is updated, search for “Listen 80” and update it to “Listen 8080”.

Finally, search for “servername localhost:80”. Once you find it, modify it to “servername localhost:8080”. When you’re finished, save and close the file.

Step 3: Update the Default Port Settings in the http-ssl.conf File

Now it’s time to move on to the second file. To do so, you can return to the XAMPP control panel, then select Config under the Apache settings again. This time, open the Apache (http-ssl.conf) file.

When the file opens in your text editor, press Ctrl + F, and then enter 443 in the search field. Locate “Listen 443” and update this to “Listen 4433”.

Next, search the file for the next instance of “443”. It should be “ ”. Once you find it, you can go ahead and change it to “ ”. When you’re finished, remember to save and close the file.

Step 4: Restart Apache

Once you’ve updated the settings in both files, the final step is to stop Apache. You can do this by clicking on the Stop button along the same Apache row. After Apache has been stopped, click the Start button to complete the restart process.

Sign Up For the Newsletter

We grew our traffic 1,187% with WordPress. We’ll show you how.

Join 20,000+ others who get our weekly newsletter with insider WordPress tips!

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The option to stop Apache in XAMPP.

That’s it! Your port numbers will be updated and Apache should now run without error.

How to Fix the XAMPP Error “Apache Shutdown Unexpectedly” in macOS

Depending on what version of macOS you’re running, you may already have Apache installed on your computer. This default application of Apache will use the same default port settings as the Apache server in XAMPP, so this may be the cause of the “Apache shutdown unexpectedly” error.

If you’re using macOS, you can follow these four steps to update the default port settings.

Step 1: Open the XAMPP Apache Configuration

To start, open the XAMPP Application Manager if you haven’t already done so:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The XAMPP application manager.

Next, select the Manage Servers tab next to the Welcome tab at the top:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

XAMPP’s “Manage Servers” settings.

On this screen, you’ll find a list of options. You can click on Apache Web Server, followed by the Configure button.

Looking for a powerful tool for local WordPress development? DevKinsta features one-click site creation, built-in HTTPS, powerful email and database management tools, and more. Learn more about DevKinsta!

Step 2: Open the Conf File

From the Configure Apache Web Server box, select Open Conf File:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

XAMPP’s “Configure Apache Web Server” options.

A warning box will appear, stating that the file is for advanced users:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

XAMPP’s conf file warning “for advanced users”.

You can click on Yes to continue. This will open the httpd.conf file.

Step 3: Update the Port Settings

Once the file opens in your text editor, the next step is to update the port settings. To do so, you can hit Ctrl + F, and then enter “80” in the search field. This will display instances of the number 80:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

XAMPP’s httpd.conf file port settings.

Locate the these lines:

When you’re done, you can save and close the file. In the Configure Apache Web Server box, click on OK.

Step 4: Restart Apache

The final step is to stop and restart Apache, which you can do from the XAMPP Application Manager’s Manage Servers tab. Once Apache is stopped, click on Start to restart:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

The XAMPP Apache port.

That’s it! Your port numbers will be updated and Apache should now run without error.

Summary

The XAMPP error “Apache shutdown unexpectedly” is commonly caused by another program, such as Skype, using the default Apache port. While this can be frustrating, it usually has a simple resolution.

As we discussed in this article, the easiest way to fix this problem is to update XAMPP’s Apache configuration settings. You can do this by editing the httpd.conf file and the http-ssl.conf file (for Windows users). Once this is done, you should stop and restart Apache to resume normal operation.

If you enjoyed this tutorial, then you’ll love our support. All Kinsta’s hosting plans include 24/7 support from our veteran WordPress developers and engineers. Chat with the same team that backs our Fortune 500 clients. Check out our plans

Hand-picked related articles

DevKinsta Documentation

DevKinsta is a local development suite for WordPress sites, allowing you to build, develop, and test sites. Use your favourite text editor to get s.

What Is Localhost? And How Does It Apply to WordPress?

Wondering what localhost means? Localhost generally refers to the actual computer that you’re working on. Read this post for more information!

How to Install WordPress Locally (Windows, macOS, Linux)

Sometimes it can be convenient to work on your own machine. Check out how to install WordPress locally using DevKinsta, XAMPP, WAMP, or MAMP.

Is your WordPress site slow? Whether you’re just starting to use WordPress or are a seasoned developer you’ll find useful tips to speed up your site in this guide.

Источник

Apache shutdown unexpectedly

I know by using a different port (such as port 8080 etc change in httpd.conf) will get to a workaround for this issue. However I need port 80 to be released by PID 4 process and allocated to Apache service. I have done that in the past but have forgotten the resolution steps over the time. Please help me fix it

This is the error I am encountering while starting Apache

Logs from apache error log file:

NOTE: I DO NOT HAVE IIS, WEB CLIENT, WORLD WIDE WEB SERVICE.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

17 Answers 17

on your XAMPP control panel, next to apache, select the «Config» option and select the first file (httpd.conf):

there, look for the «listen» line (you may use the find tool in the notepad) and there must be a line stating «Listen 80». Note: there are other lines with «listen» on them but they should be commented (start with a #), the one you need to change is the one saying exactly «listen 80». Now change it to «Listen 1337».

If the error subsists, it’s because there’s another port that’s already in use. So, select the config option again (next to apache in your xampp control panel) and select the second option this time (httpd-ssl.conf):

there, look for the line «Listen 443» and change it to «Listen 7331».

Start apache, it should be working now.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

If you are using the latest Skype, go to:

Disable the ‘Use port 80 and 443 for alternatve.. ‘
Sign Out and Close all Skype windows. Try restart your Apache again.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

You shuld run file setup_xampp.bat in XAMP folder first!

choose the «Apache (httpd.conf)» and find this code below and change it into this one:

after that, go back to xampp control panel and click again its config

choose «Apache (httpd-ssl.conf)» find this code below and change it again:

then, click the «config» (note: above the netstat) and click the «service and port settings» then save both of it.

Uncheck your «Internet Information Services» then click ok.

Just wait for it and your computer/laptop will be automatically restart and try to open again your xampp control panel then start your Apache.

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

It means port 80 is already used by another one.

Simply follow these steps:

Active Connections in Windows XP:

Error apache shutdown unexpectedly windows 10 xampp. Смотреть фото Error apache shutdown unexpectedly windows 10 xampp. Смотреть картинку Error apache shutdown unexpectedly windows 10 xampp. Картинка про Error apache shutdown unexpectedly windows 10 xampp. Фото Error apache shutdown unexpectedly windows 10 xampp

I solved my problem after installing xampp-win32-1.6.5-installer previously I used xampp version xampp-win32-1.8.2-0-VC9-installer at that time I got this error. Now it resolved my problem.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *