New
#1
xampp not working on windows 7
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
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
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
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
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.
It started working as soon as I restated my machine. Thanks for the help !
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 Brink; 22 Jun 2010 at 09:42. Reason: removed email address
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.
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
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.
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!