Apache stops as soon as it starts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache stops as soon as it starts

Postby Perrorist » 11. August 2022 23:05

I'm using the latest version of XAMPP. When I start Apache, it stops straightaway. The log says

Code: Select all
::1 - - [12/Aug/2022:02:27:25 +1000] "OPTIONS /ROOT/subscription%3ANTEventLogEventConsumer.Name%3D%22SCM%20Event%20Log%20Consumer%22 HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/10.0.19043"
::1 - - [12/Aug/2022:02:27:25 +1000] "PROPFIND /ROOT/subscription%3ANTEventLogEventConsumer.Name%3D%22SCM%20Event%20Log%20Consumer%22 HTTP/1.1" 405 320 "-" "Microsoft-WebDAV-MiniRedir/10.0.19043"
::1 - - [12/Aug/2022:02:27:25 +1000] "PROPFIND /ROOT HTTP/1.1" 405 320 "-" "Microsoft-WebDAV-MiniRedir/10.0.19043"


There's nothing in the error log.

Any help would be appreciated.
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Altrea » 12. August 2022 05:15

Please start Apache as console application by douple clicking apache_start.bat and copy the full response of it
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 05:30

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:80
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

Apache konnte nicht gestartet werden
Apache could not be started
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Nobbie » 12. August 2022 08:45

There is already running a server on port 80, probably "Microsoft-WebDAV-MiniRedir" (dont know that). Find out which program it is, why it runs and stop or deinstall it. Only one program can listen to port 80.
Nobbie
 
Posts: 13165
Joined: 09. March 2008 13:04

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 08:49

Thanks. Is there a recommended alternative port number I can use?
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Altrea » 12. August 2022 09:04

The only recommended port number for a http Daemon is the default http port 80.
Try to identify the process running on port 80 on your pc. You can use the helper tool Netstat for example (Button in your xampp control panel)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 09:22

Port 80 is httpd.exe.
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Altrea » 12. August 2022 11:34

so, there is another Apache running.
Please start your XAMPP control panel with elevated administrator rights (rightclick -> run as Administrator) and show us all the log window messages
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 11:51

Thanks. That's fixed up the start/stop issue.
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 22:00

I still can't get the WP install script to run. All browsers just display the code, but Firefox says:

Error: PHP is not running

WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

This, despite Apache has started and remains open.

Image
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Altrea » 12. August 2022 22:57

what does your browsers address bar show at the time the wordpress message appears?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Perrorist » 12. August 2022 23:11

file:///S:/XAMPP/htdocs/brokeword/wp-admin/install.php
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64

Re: Apache stops as soon as it starts

Postby Froosh » 13. August 2022 00:46

Appears like you are navigating to a file, and not the site itself. Assuming Apache is serving as http://localhost on your computer, you should be navigating to http://localhost/brokeword/
If you navigate there, the WP install should run.
User avatar
Froosh
 
Posts: 138
Joined: 27. March 2022 17:56
XAMPP version: 8.2.0
Operating System: Windows 11 Pro

Re: Apache stops as soon as it starts

Postby Perrorist » 13. August 2022 01:18

Thanks. That works!
User avatar
Perrorist
 
Posts: 16
Joined: 02. January 2009 10:42
Location: Australia
XAMPP version: 7.3.28
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests