Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: xampp not working on windows 7

24 Aug 2009   #1

Windows 7
xampp not working on windows 7

i just installed xampp on windows 7 and i cant get to start apache and says running and after 5 seconds says stopped.what to do?pls help.thanks

My System SpecsSystem Spec

24 Aug 2009   #2

Windows 7 Ultimate x64 build 7600

I installed it in vista compatibility mode + as administrator and I've had no problem, apache and mysql have been running for over an hour now, and I access my local server and applications flawlessly
My System SpecsSystem Spec
22 Jan 2010   #3

Windows 7
Install MySql as a service

You should try to run MySql as a service. From the xampp control panel check the corresponding svc checkbox and then start the server again
My System SpecsSystem Spec

22 Jan 2010   #4

Windows 7
Xampp not working in Windows 7

Could you be more specific on how to get Apache up and running as a service ? I had no trouble getting MYSql running as a service but I can not get the ApacheInstallService.bat to work even when I run it as administrator in Vista SP1 compatability mode.
My System SpecsSystem Spec
22 Jan 2010   #5

Windows 7

It started working as soon as I restated my machine. Thanks for the help !
My System SpecsSystem Spec
22 Jun 2010   #6

window 7
xampp not working on windows 7

Dear Spleshmen and others
I am also using windows 7 and when i start use window 7 i also faced the same problem the solution is simple.
StartMenu->type in search Field-> UAC
Press Enter
User Account controller window will be open and scroll down the level to "Never Notify"
After That Turn your firewall off and restart your system
and after restart open Xammp Control panel and start apache and mysql services
it will be works

Hope it will solve your problem

Murtaza(joomla Developer)
My System SpecsSystem Spec
03 Dec 2010   #7

Windows XP, Windows 7 Ultimate x64
Murtraza - was that an advice?!

If the answer is yes, then it is a rather poor one!
You are advising people to drop every protection that Windows can offer, just in order to install two servers?!
Your answer may seem correct, but it just a quick and dirty solution.

This should be correct order of actions, if I remember correctly:
1. Run the setup as administrator (right click on the installer, then choose 'Run as administrator');
2. Choose to install XAMPP in the root of any drive (or in some folder other then 'Program Files' and 'Program Files (x64)');
3. If UAC appears, confirm the action;
4. Open required ports in you firewall software. I cannot explain how to do that for every one, 'cause there are number of solutions avaible, so I'll explain how to open them in Windows Firewall (advice for those who are using it - find another solution, there are many absolutelly free products on the market far better then it). To open required ports in Windows Firewall:
a) Control Panel->System And Security->Allow a program through Windows Firewall
b) click on 'Change Settings'
c) click on 'Allow another program'
d) Find XAMPP Control Panel in the list, then click 'Add'
e) Control Panel->System And Security->Windows Firewall
f) click on 'advanced settings'
Now, when console window loads, you should create a set of inbound and outbound rules for MySQL, Filezilla and Mercury, whatever you are using... This is quite simple, when you click on 'Inbound' or 'Outbound' rules, you'll get an option 'New rule' on the right side of the window. When you click on it, you are guided by the wizard.
For MySQL, you should open a port, TCP, 3306.
For Filezilla, you should open a port, TCP, 21.
Remeber to create both sets of rules, incoming and outgoing.
g) when console loads, click on inbound you should create a new set of rules by repeating
5. Start every module you need as a service.

That should be it. It works for me just fine on 7 Ultimate (x64). By the way, I use Comodo Firewall in addition to Win 7 firewall.
My System SpecsSystem Spec
18 Dec 2010   #8

windows 7

Quote   Quote: Originally Posted by Spleshmen View Post
i just installed xampp on windows 7 and i cant get to start apache and says running and after 5 seconds says stopped.what to do?pls help.thanks

u can not use it coz it use 80 port in the machin by the way iis also use 80 port in the windows 7 that is why xamp and wamp not work in the windows 7 sometime ,
e so u have to change the iis port in windows 7

How to do this?
#1. In Start menu Search option, type: IIS and click Internet Information Services Manager or simply do a run command: inetmgr .
#2. Under Connections, You’ll see your PC name click on it to expand the list. Now you can see “Sites” click on it to expand.
#3. Under Sites you can see Default Web Site, right click on it and Select EDIT BINDINGS.
#4. Edit HTTP binding port from 80 to 81.

#5. Open your browser and type: //localhost:81/yoursite. You should be able to access your local sites without any problems.

if not iis in search function

#1. In Start menu Search option, type: turn windows features on or off
#2 and tik the internet information services and ok
My System SpecsSystem Spec
18 Apr 2011   #9

indows 7 Ultimate 32bit
Install and Uninstall IIS

Install IIS with add and remove windows features from Control panel->Programs and Features->Turn Windows Features On and Off.

Then Remove IIS (System restart may be required).

Start the Apache service, it should work. (don't ask me it just works!)
I used Xampp so you can start is as a service or alone from the Xampp control panel.
My System SpecsSystem Spec
11 Oct 2011   #10

Win XP 32 Pro

We tried XAMP in Windows 7 (actually under mac os virtual machine), xampp
installed as service.
It said Apache is running, but clicking on admin, it run default browser with /localhost/ and turned up "page not found". Same in Chrome, Firefox, IE. Changing port didn't help. However, then I noticed in firefox, that it wanted to load and it gave the idea to type in and it worked!
My System SpecsSystem Spec

 xampp not working on windows 7

Thread Tools

Similar help and support threads for2: xampp not working on windows 7
Thread Forum
Can I run XAMPP in one account and Windows IIS in another account? General Discussion
Xampp Software
My PHP wont load in XAMPP Software
XAMPP installation error - UAC? Software
Xampp remote access Network & Sharing
Windows 7 & XAMPP Software
Apache in XAMPP wont start Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 02:13 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33