Apache and MYSQL starting problem

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

Apache and MYSQL starting problem

Postby safi » 15. February 2016 21:59

HI I have a problem running Apache and MYSQL , please help .

10:44:34 PM [main] Initializing Control Panel
10:44:34 PM [main] Windows Version: Pro 64-bit
10:44:34 PM [main] XAMPP Version: 7.0.1
10:44:34 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
10:44:34 PM [main] You are not running with administrator rights! This will work for
10:44:34 PM [main] most application stuff but whenever you do something with services
10:44:34 PM [main] there will be a security dialogue or things will break! So think
10:44:34 PM [main] about running this application with administrator rights!
10:44:34 PM [main] XAMPP Installation Directory: "d:\mo3taz\new folder\"
10:44:34 PM [main] WARNING: Your install directory contains spaces. This may break programs/scripts
10:44:34 PM [main] Checking for prerequisites
10:44:34 PM [main] All prerequisites found
10:44:34 PM [main] Initializing Modules
10:44:34 PM [main] Starting Check-Timer
10:44:34 PM [main] Control Panel Ready
10:55:06 PM [Apache] Attempting to start Apache app...
10:55:06 PM [Apache] Status change detected: running
10:55:07 PM [Apache] Status change detected: stopped
10:55:07 PM [Apache] Error: Apache shutdown unexpectedly.
10:55:07 PM [Apache] This may be due to a blocked port, missing dependencies,
10:55:07 PM [Apache] improper privileges, a crash, or a shutdown by another method.
10:55:07 PM [Apache] Press the Logs button to view error logs and check
10:55:07 PM [Apache] the Windows Event Viewer for more clues
10:55:07 PM [Apache] If you need more help, copy and post this
10:55:07 PM [Apache] entire log window on the forums
10:55:07 PM [mysql] Attempting to start MySQL app...
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby Nobbie » 15. February 2016 23:07

> XAMPP Installation Directory: "d:\mo3taz\new folder\"

What a crazy idea. You should Xampp install into a standard folder as suggested, not in such a strange thing.

>You are not running with administrator rights!

In conjunction with that strange installation folder, that may lead to your problems. Try to run Xampp Control Panel as Administrator (right mouse click and choose "Run as Administrator".) And next time install Xampp into a normal folder, unless you really know what you are doing there.
Nobbie
 
Posts: 8775
Joined: 09. March 2008 13:04

Re: Apache and MYSQL starting problem

Postby safi » 16. February 2016 15:32

thanks so much for replying. I reinstalled Xampp in a seprate file and run as adminstrator , MYSQL worked but Apache didn't. so what can I do ?

Initializing Control Panel
4:25:18 PM [main] Windows Version: Pro 64-bit
4:25:18 PM [main] XAMPP Version: 7.0.1
4:25:18 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
4:25:18 PM [main] Running with Administrator rights - good!
4:25:18 PM [main] XAMPP Installation Directory: "d:\xamp\"
4:25:18 PM [main] Checking for prerequisites
4:25:18 PM [main] All prerequisites found
4:25:18 PM [main] Initializing Modules
4:25:18 PM [mysql] XAMPP MySQL is already running on port 3306
4:25:18 PM [main] Starting Check-Timer
4:25:18 PM [main] Control Panel Ready
4:25:23 PM [Apache] Attempting to start Apache app...
4:25:23 PM [Apache] Status change detected: running
4:25:25 PM [Apache] Status change detected: stopped
4:25:25 PM [Apache] Error: Apache shutdown unexpectedly.
4:25:25 PM [Apache] This may be due to a blocked port, missing dependencies,
4:25:25 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:25:25 PM [Apache] Press the Logs button to view error logs and check
4:25:25 PM [Apache] the Windows Event Viewer for more clues
4:25:25 PM [Apache] If you need more help, copy and post this
4:25:25 PM [Apache] entire log window on the forums
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby Altrea » 16. February 2016 15:43

Hi,

please execute the apache_start.bat script and tell us what it responses.

best wishes,
Altrea
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache and MYSQL starting problem

Postby safi » 16. February 2016 16:42

HI,

I executed it and here is the response:

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
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby Altrea » 16. February 2016 17:42

What that means is that Apache cannot start because port 80 is already occupied by another process.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache and MYSQL starting problem

Postby safi » 16. February 2016 22:26

what can I do in this case to make Apache work ?
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby Altrea » 17. February 2016 01:30

Find out which process is using port 80.
the netstat tool (button in the control panel) should help you with this.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache and MYSQL starting problem

Postby safi » 17. February 2016 20:36

Thank you so much for your help. I found out which process is using port 80 and I disapled it and Apache started.
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby Altrea » 17. February 2016 20:58

Would you be so kind to tell us too which process was blocking port 80 on your system?
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache and MYSQL starting problem

Postby safi » 18. February 2016 10:51

IIS/10.0 was using port 80

To solve that:

find service "W3SVC" and disable it.
you can find it by :
opening Administrative Tools and selecting Services. A window will pop up titled Services. Then find World Wide Web Publishing Services . right click and select stop .
safi
 
Posts: 8
Joined: 15. February 2016 21:53
Operating System: windows 10

Re: Apache and MYSQL starting problem

Postby vhen_marin » 18. February 2016 19:59

i can't find The World Wide Web Publishing Services.. please help with this. i really need to start..
vhen_marin
 
Posts: 3
Joined: 18. February 2016 18:54
Operating System: Microsoft office

Re: Apache and MYSQL starting problem

Postby Altrea » 18. February 2016 20:09

vhen_marin wrote:i can't find The World Wide Web Publishing Services

Then commonly your issue is a different one.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 32 guests