Меню

Xampp ошибка при закрытии

I use the win10 system. My xampp panel is v3.2.4. The xampp can run mysql and apache normally. But when I want to quit, the program will report an error, then no response. Need help, please. How can I fix this?

Add:enter image description here, the Chinese words in this picture means access denied.

enter image description here
When I click quit bottom in xampp, it will show me these two hints.

This is my xampp-control.ini enter image description here

asked Jul 7, 2020 at 10:29

mute-yc's user avatar

mute-ycmute-yc

211 silver badge3 bronze badges

2

Are you running the program as an administrator?

Make sure you have installed XAMPP outside of the Program Files folder, the default should warn you about that and suggest installing in C:xampp anyway.

You may also need to go to the C:xampp directory and change the settings for xampp-control.exe too. Right click on it, go to Properties > Compatibility and then check the «Run this program as an administrator».

answered Feb 2, 2021 at 16:34

Michael's user avatar

MichaelMichael

611 silver badge5 bronze badges

Find file xampp-control.ini into folder XAMPP, changes permisssion for everyone with FULL CONTROL

answered Jul 24, 2022 at 16:18

xrockstar's user avatar

I use the win10 system. My xampp panel is v3.2.4. The xampp can run mysql and apache normally. But when I want to quit, the program will report an error, then no response. Need help, please. How can I fix this?

Add:enter image description here, the Chinese words in this picture means access denied.

enter image description here
When I click quit bottom in xampp, it will show me these two hints.

This is my xampp-control.ini enter image description here

asked Jul 7, 2020 at 10:29

mute-yc's user avatar

mute-ycmute-yc

211 silver badge3 bronze badges

2

Are you running the program as an administrator?

Make sure you have installed XAMPP outside of the Program Files folder, the default should warn you about that and suggest installing in C:xampp anyway.

You may also need to go to the C:xampp directory and change the settings for xampp-control.exe too. Right click on it, go to Properties > Compatibility and then check the «Run this program as an administrator».

answered Feb 2, 2021 at 16:34

Michael's user avatar

MichaelMichael

611 silver badge5 bronze badges

Find file xampp-control.ini into folder XAMPP, changes permisssion for everyone with FULL CONTROL

answered Jul 24, 2022 at 16:18

xrockstar's user avatar

Here we will discuss the Error: Apache shutdown unexpectedly issues with XAMPP. In this complete article, we will know why the Apache and MySQL issue occurs and how we can solve them easily or without editing the configuration files.

Error: Apache shutdown unexpectedly
Error: Apache shutdown unexpectedly

Also Read: Increase PHPMyAdmin Import Size Ubuntu and XAMPP

In This Article

  • 1 Why this “apache shutdown unexpectedly” xampp occur
  • 2 [Solution] error: apache shutdown unexpectedly xampp occurs
    • 2.1 Related

Why this “apache shutdown unexpectedly” xampp occur

After installing the XAMPP server, here are some major points that may cause the apache error,

  • Default ports are used by other resources or software.
  • Any other apache server is running on the same port. (You can check it by using your Task Manager)

[Solution] error: apache shutdown unexpectedly xampp occurs

Here is the complete step-by-step solution without editing the configuration file.

Step: 1

Open XAMPP with administrator permission.

XAMPP Run as Administartor
XAMPP Run as Administartor

Also Read: Send Mail From Localhost in PHP Using XAMPP

Step: 2

Click on the “Config” button,

Step – 3

Now click on “Service and Port Settings“, now you can see the Apache port setting on the following image.

XAMPP Service and Port Settings

Here you can set Port numbers according to your requirements and then hit the “SAVE” button.

You can do it for MySQL as well.

After completing these steps, you can now Start your Apache and MySQL both correctly.

This is the complete and most easy method to solve the error: apache shutdown unexpectedly xampp issue on windows systems.

You can download XAMPP from here Download XAMPP (apachefriends.org) as well.

I hope this can help you.

Also Read: How to Execute PHP File From Command Line

Happy Coding..!

Was this article helpful?

YesNo

I have an issue with my XAMPP Control Pannel.

Each time I run my XAMPP Control Pannel, it shuts down, with these errors :

XAMPP Control Pannel log

This is what the application error window show me :

  Exception EAccessViolation in module xampp-control.exe at 001ABEFFE.
  Access violation at address 005ABEFFE in module 'xampp-controle.exe'.
  Read of address 00000042.

And this is the details of the crash :

  Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: xampp-control.exe
  Application Version:  3.1.0.0
  Application Timestamp:    505b977e
  Fault Module Name:    xampp-control.exe
  Fault Module Version: 3.1.0.0
  Fault Module Timestamp:   505b977e
  Exception Code:   c0000005
  Exception Offset: 001abefe
  OS Version:   6.3.9600.2.0.0.272.7
  Locale ID:    1036
  Additional Information 1: 85f1
  Additional Information 2: 85f130a438e7576b1a9e31c22e4b9f42
  Additional Information 3: 5349
  Additional Information 4: 53499a809c3ee8ed8ef93e12b24b146b

  Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

  If the online privacy statement is not available, please read our privacy statement offline:
  C:Windowssystem32en-USerofflps.txt

Can you explain me how to fix it please ?

asked Sep 29, 2015 at 8:20

Tofuw's user avatar

TofuwTofuw

8885 gold badges16 silver badges34 bronze badges

0

First, your user must have administrator permission.

Second, install Xampp outside of «program files«, preferably install in C:xampp (It usually comes with this by default).

Third, after installation (Before running Xampp), go to the C:xampp directory, look for xampp-control.exe, right click on it, go to «properties» go to the «compatibility» tab and then check the «run as administrator» option.

answered Jun 1, 2020 at 18:54

Abner Samuel's user avatar

1

This error is showing you due to Xampp-control.exe doesn’t have permission to write on the file named xampp-control.ini. Follow below steps to get rid of this:

  • Go to Xampp directory.
  • Search for file xampp-control.ini.
  • Go to properties of that file.
  • Under security tab Select users Everyone.
  • Edit permissions and provide full control.
  • And Apply

DuDa's user avatar

DuDa

3,6884 gold badges15 silver badges36 bronze badges

answered Jan 29, 2021 at 16:15

Sultan's user avatar

SultanSultan

3713 silver badges2 bronze badges

4

1st try this option.

  • Goto Xampp folder in c:/xampp
  • search for xampp.control.ini
  • right click on xampp.control.ini & click on properties.
  • Goto security select everyone & click on Edit button
  • In permissions for everyone select 1st option(Full control)
  • check all options are selected or not and then click on Apply & then OK.

This will solve you problem.

Note: Above solution works only when you logged in with Admin account.

answered Feb 28, 2021 at 23:51

pavan's user avatar

pavanpavan

2182 silver badges3 bronze badges

4

To correct the error :

  1. Go to xampp directory (The location can be C:xampp )
  2. look for xampp-control application file ( i.e file with icon and .exe extension )
  3. right click on xampp-control.exe file and click Properties option
  4. Now, select compatibility among the tabs and check the checkbox for «Run this program as an administrator«
  5. Finally, click Apply and Ok.

Here, the problem is solved. Try to start and quit xampp, it will work fine.

answered Oct 18, 2021 at 12:58

Aishwarya Joshi's user avatar

Sometimes you need to make sure that services is not disabled by doing this :

  1. Open Run Command (Windows + R)
  2. type services.msc
  3. Find apache service
  4. Check startup type on the right column

To change startup type, please do following step :

  1. Right click on services that you want to change startup type
  2. Find properties
  3. Change startup type either to manual or automatic

answered Aug 14, 2017 at 3:36

Yohanim's user avatar

YohanimYohanim

3,2177 gold badges50 silver badges90 bronze badges

Error

This error is showing you due to Xampp-control.exe haven’t permission to write on the file named «xampp-control.ini».
So, follow below steps to get rid of this:

  1. Go to Xampp directory.
  2. Search for file xampp-control.ini.
  3. Go to properties of that file.
  4. Under security tab Select users Everyone.
  5. Edit permissions & provide full control.
  6. And Apply.
    xampp-control.ini with full control

answered Jan 29, 2021 at 9:10

Masood Alam's user avatar

Masood AlamMasood Alam

3215 silver badges13 bronze badges

1

  1. Open a command prompt (Start > Run > cmd)
  2. run «sc delete Apache2.4»
  3. At the control-p of XAMPP — go to config of Apache then click Apache and chose the file name Apache installservice .
    4- try now

answered Feb 7, 2017 at 6:16

Misbah's user avatar

Following solution worked for me,

Earlier I used to save logs to the following path, but in my recent changes I forgot to update same path in my httpd-vhosts.conf

ErrorLog «D:/xampp/htdocs/mysite/logs/mysite.com-error.log«

CustomLog «D:/xampp/htdocs/mysite/logs/mysite.com-access.log» common

<VirtualHost *:80>
    ServerAdmin webmaster@mysite.com
    DocumentRoot "D:/xampp/htdocs/mysite"
    ServerName mysite.com
    ServerAlias www.mysite.com
    ErrorLog "D:/xampp/htdocs/mysite/logs/mysite.com-error.log"
    CustomLog "D:/xampp/htdocs/mysite/logs/mysite.com-access.log" common
</VirtualHost>

As soon as I updated correct path, all XAMPP processes started working without any error…

Dharman's user avatar

Dharman

29.2k21 gold badges79 silver badges131 bronze badges

answered Nov 6, 2020 at 14:04

Mangesh Sathe's user avatar

Mangesh SatheMangesh Sathe

1,9144 gold badges19 silver badges40 bronze badges

Я новичок в XAMPP, но считаю, что комбинация этих предложений работает лучше всего (по крайней мере, в Windows 8.1 с последней версией XAMPP. Обратите внимание, что на компьютере, на котором я это тестировал, также был скайп).

Сначала войдите в Skype и перейдите в «Инструменты < Параметры < Дополнительно < Соединение». Затем установите флажок «Использовать порты 80 и 443 для дополнительных входящих подключений». Сохраните, закройте и выйдите из скайпа.

Затем на панели управления XAMPP нажмите «config < my.ini» и измените строки 19 и 27 (должен иметь порт = 3306) с «3306» на «3307».

Кроме того, вам нужно будет перейти к xampp < phpMyAdmin < config.inc и изменить строку 27, которая должна выглядеть примерно так:

$ cfg [‘Серверы’] [$ i] [‘хост’] = ‘127.0.0.1’;

Вам нужно будет добавить «3307» следующим образом:

$ cfg [‘Серверы’] [$ i] [‘хост’] = ‘127.0.0.1:3307’;

Теперь откройте браузер, и вы должны увидеть страницу xampp при вводе «localhost». Кроме того, если вы впервые используете xampp, вы можете увидеть предупреждение об отсутствии пароля (выделено розовым цветом) на странице localhost/phpmyadmin/. Это легко исправить, перейдя на вкладку «Учетные записи пользователей» в phpmyadmin, щелкнув «Изменить привилегии» и введя пароль. Не забудьте сохранить хешированную версию всех паролей, которые вы создаете, так как мы будем использовать это дальше! -Я открыл блокнот и сохранил (и пронумеровал) их. Обратите внимание, что phpMyadmin сообщит вам, когда вы меняете пароль для текущего сеанса (это будет отображаться в верхней части вашей страницы phpMyadmin, и это очень важно, так как вам понадобится ТАКАЯ конкретная хешированная версия вашего пароля).

Затем вам нужно будет перейти к следующему местоположению «xampp < phpMyAdmin < config.inc» на вашем компьютере, открыть и отредактировать файл с помощью текстового редактора. Вы захотите поместить хешированную версию своего пароля между одинарными кавычками для пароля и изменить «AllowNoPassword» с true на false.

И это должно сделать это.

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Xampp ошибка при выходе
  • Xbox live ошибка 80004005