Installing Apache 2.2 service failed. (Win7) 1.7.7 [SOLVED]

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

Installing Apache 2.2 service failed. (Win7) 1.7.7 [SOLVED]

Postby Halas » 29. November 2011 12:01

Someone from the community please help me!
When i instal XAMPP v.1.7.7 it showing me this error Image

When i try to go to the localhost it showing 403 Forbidden

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80


Help me please, what is wrong?
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 12:16

Go to the xampp folder and double click on xampp-control-3-beta.exe and when the new version 3 control panel opens click on the Netstat button and see what is using port 80 and 443.

If it is Skype then open Skype configuration connection options and remove the tick next to use port 80 and 443 ...

It may be the default Windows web server IIS or World Wide Publishing Service that would need to be disabled using the Windows Control Panel.

If it is something else then you will need to disable what ever is using those ports as Apache needs them to be able to Start.
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 12:31

Ports 80 and 443 are used by httpd.exe
What is that?
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 12:36

Do you have another web server running, perhaps a failed reinstall of XAMPP?

Did you try and install XAMPP more than once?

In the control panel is Apache and MySQL showing running?
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 12:39

I removed xampp and instaled it again in xampp2 folder, but when i try to delete some files from first xampp folter it wont let me do it so i instaled it in xampp2 folder.

Also, control panel is not showing them.
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 12:45

You will have to get rid of your first failed installation from the xampp folder.

You may have to reboot to be able to delete the xampp folder as you did not uninstall the Apache Windows service before trying to delete the folder.

First in your xampp2 installation using the control panel try and remove the ticks in the Services column by clicking on them and then agreeing to uninstall the service.
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 12:49

Is there any chance to do it without reeboting?
Thanks.
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 12:53

Open the Task Manager and in the Processes tab find httpd.exe (there should be 2) and highlight and Kill those processes - you may have to right click on the Task Manager and run as an admin.

Also find mysqld.exe and Kill it also.

Close the Task Manager and try and delete the xampp folder.
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 12:59

I am using windows 7 and there is noxttpd.exe and mysqld.exe running.
I will do system reboot if there is no other options.
Thanks Sharley.
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 13:06

Open a command prompt, again as an administrator and type:
sc delete apache2.2
click OK

Then the same for MySQL
sc delete mysql
Click Ok

This should remove the reference to the installed services in the registry and allow you to delete the xampp folder.
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 13:17

Access denied

Image
Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 13:20

You need to be an admin or use an elevated command prompt - this is Microsoft's nanny at it's best. :)

http://downloadsquad.switched.com/2009/ ... -anywhere/
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: Installing Apache 2.2 service failed. HELP!

Postby Halas » 29. November 2011 13:26

Halas
 
Posts: 7
Joined: 29. November 2011 11:24
Operating System: Windows 7

Re: Installing Apache 2.2 service failed. HELP!

Postby Sharley » 29. November 2011 13:33

Please try and keep your image size no wider than 800 and 600 high, thanks.

Did you try typing those commands in the elevated console window?

I don't have win7 so you will have to try and adapt using your skills. ;)

It is important with anything XAMPP that your run stuff as an administrator not as an ordinary user or you will always have access denied issues.
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: Installing Apache 2.2 service failed. HELP!

Postby JamieEff » 09. December 2011 10:33

I am having a similar problem.

Am trying to reinstall XAMPP but getting 'ports 80 or 442 (SSL) already in use!' on installation.

Have tried to delete and this has been successful for the mysql but not apache 2.2 - when I try to delete apache 2.2 I get the following: OpenService FAIELD 1060: The specified service does not exist as an installed service

Thanks in advance for yuour help

Jamie
JamieEff
 
Posts: 6
Joined: 07. November 2011 14:45
Operating System: Windows 7

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 27 guests