Problem running Apache Service [SOLVED]

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

Problem running Apache Service [SOLVED]

Postby Philhgi » 03. January 2012 12:01

Hi There,

I've just installed XAMPP hoping to use the phpmyadmin mysql service, but I can't seem to access it because the 'Apache' Service won't start. I had this installed yesterday and was working fine but now it just won't start. I think I got an error message during the re installation where it said that the ports were already in use, but I had uninstalled it at the time.

Does anyone have any advice?

Thanks,

Philhgi
Philhgi
 
Posts: 3
Joined: 03. January 2012 11:56
Operating System: Windows 7 Professional x64

Re: Problem running Apache Service

Postby Sharley » 03. January 2012 12:13

You may not have uninstalled the Windows service before closing the control panel.

You did install it into the root of a drive or partition like C:\ so you have c:\xampp installation folder?


You could use the version 3 control panel found in the xampp installation folder:
xampp-control-3-beta.exe
The latest version download link is in my signature.
Simply extract all the files from the archive to the xampp installation folder and overwrite when asked.
Then right click the exe file to run as administrator and to create a shortcut to the desktop, for example, for easier access.

This version has more detailed log window and it might give you/us a better idea of what is happening, plus it has many more useful features.

Let me know back what the log window gives you - you can right click on it and copy and paste.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Problem running Apache Service

Postby Philhgi » 03. January 2012 12:21

Works now, Thanks! :D

In the beta window it said that Port 443 was already being used by my Skype. Just exited Skype and ran the services and it works :)

Thank you very much! :)
Philhgi
 
Posts: 3
Joined: 03. January 2012 11:56
Operating System: Windows 7 Professional x64

Re: Problem running Apache Service

Postby Philhgi » 03. January 2012 12:22

Just forgot, here is the log.


11:17:19 [main] Initializing Control Panel
11:17:19 [main] Windows Version: Windows 7 Professional SP1 64-bit
11:17:19 [main] XAMPP Version: 1.7.7
11:17:19 [main] Control Panel Version: 3.0.11 [ Compiled: December 7th 2011 ]
11:17:19 [main] Running with Administrator rights - good!
11:17:19 [main] XAMPP Installation Directory: "c:\xampp\"
11:17:19 [main] Initializing Modules
11:17:19 [apache] Possible problem detected!
11:17:19 [apache] Port 80 in use by "c:\program files (x86)\skype\phone\skype.exe"!
11:17:19 [apache] Possible problem detected!
11:17:19 [apache] Port 443 in use by "c:\program files (x86)\skype\phone\skype.exe"!
11:17:19 [main] Starting Check-Timer
11:17:19 [main] Control Panel Ready
11:17:26 [mysql] Installing service...
11:17:27 [mysql] Successful!
11:17:28 [apache] Starting apache service...
11:18:02 [apache] Starting apache service...
11:18:02 [apache] Status change detected: running
11:18:53 [mysql] Starting mysql service...
11:18:56 [mysql] Status change detected: running
Philhgi
 
Posts: 3
Joined: 03. January 2012 11:56
Operating System: Windows 7 Professional x64

Re: Problem running Apache Service

Postby Sharley » 03. January 2012 12:27

Skype uses ports 80 and 443 by default.

You can alter that behaviour by going to:
Tools\Connection options...\Connections

Untick
Use port 80 and 443 as alternative for incoming connections

This will not affect Skype but will allow you to start Apache and Skype at the same time.

Best wishes. :)


New users can find self help by reading these first:
readme_en.txt file in the xampp folder.
http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html

Some useful reading that may help you help us to find suitable solutions:
viewtopic.php?f=16&t=48331
viewtopic.php?f=16&t=32670
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Problem running Apache Service

Postby Sharley » 03. January 2012 12:39

I will close this topic now and mark it solved as you have found the Skype solution. 8)

Please feel free to start a new topic if you have any more issues with XAMPP for Windows.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests