Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Error: Apache Shutdown unexpectedly |
|
Author |
|
filip
Joined: 17 May 2024 Posts: 4 Location: Rijeka, Croatia
|
Posted: Fri 17 May '24 20:54 Post subject: Error: Apache Shutdown unexpectedly |
|
|
I tried to work with XAMPP because I need it for my Wordpress project. Unfortunately, I got a problem with Apache. When I tried to started it and MySql too, MySql was success (it started) but Apache didn't. And then it gave me the error that I wrote in a subject.
I tried everything I saw on Internet. So I pressed Config at the Apache service and clicked on httpd.conf. There I modified these settings: Listen 80 TO Listen 8080 servername, localhost: 80 TO servername localhost: 8080. And then I came to httpd-ssl.conf file. There I managed these: Listen 443 TO Listen 4433
<VirtualHost _default_:443> TO <VirtualHost _default_:4433>.
And yeah, I tried to Quit XAMPP, reinstall TWICE and of course shut down my pc.
Please, if someone knows what can be the problem, help me! Thanks in advance
[/b] |
|
Back to top |
|
James Blond Moderator
![](images/avatars/3066243e8d00d4770e.gif)
Joined: 19 Jan 2006 Posts: 7342 Location: Germany, Next to Hamburg
|
Posted: Tue 21 May '24 9:49 Post subject: |
|
|
What is in your apache error log? Anything in the windows event log? |
|
Back to top |
|
filip
Joined: 17 May 2024 Posts: 4 Location: Rijeka, Croatia
|
Posted: Tue 21 May '24 19:08 Post subject: |
|
|
In apache error log: PHP Warning: 'C:\\Windows\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Fri May 17 09:57:55.939490 2024] [:emerg] [pid 11920:tid 456] AH00020: Configuration Failed, exiting
[Fri May 17 10:04:33.275640 2024] [ssl:warn] [pid 13692:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri May 17 10:04:33.339548 2024] [ssl:warn] [pid 13692:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\Windows\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Fri May 17 10:04:33.360201 2024] [:emerg] [pid 13692:tid 452] AH00020: Configuration Failed, exiting
[Fri May 17 10:06:07.811654 2024] [ssl:warn] [pid 11408:tid 472] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri May 17 10:06:07.882126 2024] [core:warn] [pid 11408:tid 472] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri May 17 10:06:07.882126 2024] [ssl:warn] [pid 11408:tid 472] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
And now I see that I have some errors in the event log:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="PHP-8.2.12" />
<EventID Qualifiers="49152">4</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-05-16T15:03:33.3553507Z" />
<EventRecordID>42519</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>DESKTOP-UD6OHJ1</Computer>
<Security />
</System>
- <EventData>
<Data>php[14148]</Data>
<Data>PHP Warning: 'C:\Windows\SYSTEM32\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 ("C:\xampp\apache\bin\httpd.exe" -k runservice)</Data>
</EventData>
</Event>
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MariaDB" />
<EventID Qualifiers="49152">100</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-05-16T14:59:46.3948874Z" />
<EventRecordID>42513</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>DESKTOP-UD6OHJ1</Computer>
<Security />
</System>
- <EventData>
<Data>Aborting</Data>
</EventData>
</Event>
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-05-16T14:40:28.3629695Z" />
<EventRecordID>42251</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>DESKTOP-UD6OHJ1</Computer>
<Security />
</System>
- <EventData>
<Data>xampp-control.exe</Data>
<Data>3.3.0.0</Data>
<Data>606c4833</Data>
<Data>xampp-control.exe</Data>
<Data>3.3.0.0</Data>
<Data>606c4833</Data>
<Data>c0000005</Data>
<Data>0025b292</Data>
<Data>21e4</Data>
<Data>01daa79ea5374cc4</Data>
<Data>C:\xampp\xampp-control.exe</Data>
<Data>C:\xampp\xampp-control.exe</Data>
<Data>b94751ce-1727-40ef-8ae2-5228f3f51936</Data>
<Data />
<Data />
</EventData>
</Event> |
|
Back to top |
|
Otomatic
![](images/avatars/24455e7e39169050f.png)
Joined: 01 Sep 2011 Posts: 195 Location: Paris, France, EU
|
Posted: Wed 22 May '24 10:08 Post subject: |
|
|
Hi,
There's a problem with VC++ redistributable packages.
The simplest, easiest, least error-prone, fastest way to install the VC++ redistributables that are essential to Wampserver and Apache, PHP, MySQL and to many other softwares is to use a program that installs everything that is needed with a single executable.
No, this is not a utopia ! It exists and it's 'AIO Repack' named VisualCppRedist AIO created by addobi1406, always updated with the latest versions from Microsoft.
The files to download are here: VisualCppRedist AIO All Releases - The Github page is here: VisualCppRedist AIO
Download the latest version of the VisualCppRedist_AIO_x86_x64.exe file and run it as administrator, all necessary redistributable VC++ will be installed and excess or obsolete files will be removed. To ensure that everything runs smoothly, some applications will need to be disabled when requested by the Redist VC++ installer. |
|
Back to top |
|
filip
Joined: 17 May 2024 Posts: 4 Location: Rijeka, Croatia
|
Posted: Wed 22 May '24 14:50 Post subject: |
|
|
Do I need to install all of the files from the Assets?
VisualCppRedist_AIO_x86only.exe
VisualCppRedist_AIO_x86_x64.exe
VisualCppRedist_AIO_x86_x64_82.zip
Source code
(zip)
Source code
(tar.gz) |
|
Back to top |
|
Otomatic
![](images/avatars/24455e7e39169050f.png)
Joined: 01 Sep 2011 Posts: 195 Location: Paris, France, EU
|
Posted: Wed 22 May '24 16:04 Post subject: |
|
|
Hi,
I wrote:
"Download the latest version of the VisualCppRedist_AIO_x86_x64.exe"
So install only this file. |
|
Back to top |
|
filip
Joined: 17 May 2024 Posts: 4 Location: Rijeka, Croatia
|
Posted: Sat 25 May '24 10:10 Post subject: |
|
|
Thank you so much, it worked!! I installed it (run as admin) and restarted my pc. Then I started xampp and i can run my apache ![Cool](images/smiles/icon_cool.gif) |
|
Back to top |
|
|
|
|
|
|