Reputation: 5441
Recently I encountered a problem that when I launch PHPMyAdmin localhost/phpmyadmin
my apache service just stops working with the message: Apache HTTP Server has stopped working
.
However, if I simply access my files via localhost/myapp
everything works just as expected.
In order to gain access to PHPMyAdmin
all I have to do is restart my apache after it crushed for a few times until somehow it doesn't crush.
I'm using XAMPP Control Panel v3.2.1, Apache 2.4.10, MySQL 5.6.21, PHP 5.6.3, phpMyAdmin 4.2.11. OS: Windows 7 Ultimate 64bit
If I simply abort the message that says Apache HTTP Server has stopped working
and don't do anything, apache somehow reset it self and then entering PHPMyAdmin
without any problem.
Upvotes: 2
Views: 1272
Reputation: 11
Most simple possible solution is to replace all the xampp or wamp server file with new files and pay attention to not replace MYSQL and HTDOCS files. Your problem will be solved effectively. if you replace htdocs and mysql files it will reset your server for new files and your work will not avail for live view. Basically this kind of problem occurs when we make some changes with PHP.ini file or it gets corrupted. I hope this will resolve your problem.
Upvotes: 0
Reputation: 69977
Since Apache is crashing, the Windows Event Log may have more information about what is causing the crash.
We found the following log:
Faulting application name: httpd.exe, version: 2.4.10.0, time stamp: 0x53c79afa
Faulting module name: avcuf32.dll, version: 3.10.9599.5086, time stamp: 0x53fae9cf
Exception code: 0xc0000005
Fault offset: 0x000099f1
Faulting process id: 0x171c
Faulting application start time: 0x01d0083294fee555
Faulting application path: C:\xampp\apache\bin\httpd.exe
Faulting module path: C:\Program Files\Bitdefender\Bitdefender 2015\Active Virus Control\Avc3_00270_002\avcuf32.dll
Report Id: d741baff-7425-11e4-a311-1c6f65d4c6e0
This indicated the Antivirus software was crashing the Apache process when you try to access phpMyAdmin.
Adding an exclusion to httpd.exe in your AV software may stop it from crashing.
The crash was due to an access violation by BitDefender trying to scan the Apache process. It's hard to say why only loading phpMyAdmin crashed it and not other apps on your server but it was consistent so possibly a bug in the scanning engine.
Upvotes: 2