xampp not working on windows 7

Spleshmen

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

My Computer

OS
Windows 7
CPU
Intel Core 2 Duo
Motherboard
Nvidia Geforce
Memory
3 GB
Graphics Card(s)
Nvidia GeForce
Monitor(s) Displays
Generic Non-PnP Monitor
Screen Resolution
1280x800
Keyboard
Standard PS/2 Keyboard
Mouse
PS/2 Compatible Mouse
Internet Speed
Cable
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 Computer

OS
Windows 7 Ultimate x64 build 7600
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 Computer

OS
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 Computer

OS
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



Cheers,
Murtaza(joomla Developer)
 
Last edited by a moderator:

My Computer

OS
window 7
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 Computer

OS
Windows XP, Windows 7 Ultimate x64
i just installed xampp on windows 7 and i cant get to start apache and mysql.it 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.
changing-iis7-port.png


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

iis-test.png



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 Computer

Computer Manufacturer/Model Number
DELL
OS
windows 7
CPU
Intel® Core™ i3-330M (3M Cache, 2.13 GHz)
Motherboard
dell inc .03C6YH
Memory
4Gb DDR3
Graphics Card(s)
ATI Mobility Radeon HD 5470
Sound Card
onboard
Monitor(s) Displays
pnp moniter
Hard Drives
samsun 300gb
Internet Speed
512kpbs
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 Computer

OS
indows 7 Ultimate 32bit
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 localhost.com and it gave the idea to type in 127.0.0.1 and it worked!
 

My Computer

OS
Win XP 32 Pro
Check for Port 80 conflicts

Hi,

I had a similar problem. I tried most of the solutions volunteered above, none of them worked. Turns out skype was using port 80 which is why apache did not load. If port 80 is being used you can find which application is using it by running xampp-control-3-beta which you can find in the xampp root directory.

I will tell you in red which application is port 80, or what other possible error is preventing Apache from loading.

Cheers.
 

My Computer

OS
Windows 7 Enterprise 64
Hello, I've noticed that you guys were have trouble with apache, Because Skype is using Port : 80. So I've tried everything, until i tried something so simple.

Here is how i did it.
-Go to skype, Right click on skype icon >Sign Out. Then Right Click Icon again >Quit Skype.
-Now got you Local C:drive or what ever your using. Go to xxamp beta.
-Now under apache click config>Apache (httpd.config).
-Notepad will pop-out. Scroll down to where it says Listen 12 or 80.
-If its still 80 leave it. If its change change the port to 80.
Example:

Listen: 0.0.0.13 change it to Listen: 0.0.0.80
Listen [::]:13 change it to Listen [::]:80
Listen 13 change it to Listen 80

Then Restart xxamp Server. Then click start if it has not started. > Click Admin. & It should pop-up.

If you want snapshots just relpy saying you would like snapshots! or just ask any questions.

Thanks.
 

My Computer

OS
Windows 7, Ultimate x64
Back
Top