Wamp-Server 2.5, Localhost not working - apache

I'm trying to open localhost like this: http://localhost/
The browsers is telling that it can't connect to http://localhost/
I've tried to check port 80 by: Clicking on wamp icon > Apache > Services > Test port 80 I get following result: Your port 80 is not actually used
Can someone help me to get localhost working?

Click on wamp icon > Apache > Services > Install Service.
This solved the problem for me. You can try this.

You should also ensure that
you have the latest versions of the VC11 C++ runtime: [ [www.microsoft.com] ]
Note: If you use a Windows 64-bit version, you must install both 32 and 64 bits versions of the VC11 (2012) runtime.
And to solved port 80 issue try following it work for me:
Click on wamp icon > Apache > Services > Install Service.
After making changes dont forget to restart all services.
this work for me, save my day thanks ! :)

For me, Skype was interfering with WAMP, if I closed skype, everything worked fine. (on windows 8.1)

Uninstallation and then re-installing worked for me.
I didn't tried to install Apache service ( as I was not aware of that method at that time). You should try that first.
I have wamp 2.5 on windows 10.1 (64-bit)

For me I got the same problem saying that the port 80 is being used by another application. I tried installing the service by clicking on system tray wamp icon > Apache > Services > Install Service.
Then it displayed the message saying port 80 is being used by another application and it also suggested the application (in my case it was skype). I closed the skype runnning in my system tray and tried installing the serviceby clicking on system tray wamp icon > Apache > Services > Install Service.
The it installed successfully and restarted the all the services under wamp icon > Apache > Services.
And it started working.

You need to open the following file from the path:
c:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf
In the file, search for Listen 80.
Change the line Listen 80 to Listen 8080 (or another available port number).
Save the file and close it.
After that make sure that your address is http://localhost:8080/ in your browser.

If you are install wamp server, i need install to the icuuc51.dll to windows\system32 and Windows\SysWOW64.
When you init the server his dont show the message to install this dll.
http://pt.dll-files.com/icuuc51.dll.html
Detail. the wamp do not can start by the icon you need run manually the httpd.exe
C:\wamp_2\bin\apache\apache2.4.9\bin\httpd.exe

Related

XAMPP 1.7.7 - Apache won't start (ports already changed)

I installed XAMPP 1.7.7 for testing on the old php version. Current XAMPP is running fine. I changed the ports in httpd.conf from 80 to 8081, and in httpd-ssl.conf from 443 to 4434.
Still, when trying to start apache, I get the error
"error: apache was stopped unexpected. This might be caused by a blocked port, missing dependencies,..."
I also changed these ports again (they were not used in both cases).
I run XAMPP as an administrator and I disabled my firewall without any results... What are other possible options? (Error-)Logs are empty.
maybe the following information might help:
I am using windows 10, xampp 1.7.7 portable, and although I changed the ports, when I run XAMPP, it tells me the following:
Problem detected!
Port 80 in use by "Unable to open process" (PID 4)!
Apache will NOT start without the configured ports free!
Try to do this:
Run -> CMD, type services.msc and stop the program:
Web Deployment Agent Service
Afterwards try restarting XAMPP and say if it works or not!
I fixed it via reinstalling into another directory.

WAMP won't recognise its own Apache service (even though Apache is working)

I've been happily using WAMP for years without problems. Now, the icon is orange. When I click on the Apache service menu, then "start/resume", "restart" and "stop" are greyed out, as if the service isn't installed.
But here's the thing: the wampapache64 service is installed, and actually works. I can install it and remove it using WAMP, I just can't start or restart it from there, nor see a green icon.
I'm aware of dozens of "my WAMP icon is orange" posts here. These come closest to describing my problem (I'm getting a Service Unavailable on wamp, but everything is running, WAMP server stays yellow, though server is functioning normally?) but even those don't address this specific issue.
(The problem started when I clicked on the Apache version number in the WAMP menu, which I believe refreshes some config files.)
I'm using WAMP 2.5 64-bit, Windows 10. Apache is 2.4.9
I was dealing with the same issue with Wamp on Win 10 caused by one of the processes coliding with apache on port 80. All resolved by following steps:
open command line under as an administrator
make sure it is process with PID 4 listening to port 80:
netstat -o -n -a | findstr 0.0:80
change http process to use another port (i.e. 8000):
netsh http add iplisten ipaddress=0.0.0.0:8000
restart http service
net stop http
net start http
restart Xamp processes

XAMPP on Windows - Apache not starting

I have installed XAMPP on my windows 7 machine but can't get Apache to work.
On start I get the following errors:
13:09:21 [apache] Apache Service Detected With Wrong Path
13:09:21 [apache] Uninstall the service manually first
13:09:21 [apache] Possible problem detected!
13:09:21 [apache] Port 80 in use by "system"!
13:09:21 [tomcat] Tomcat Service Detected With Wrong Path
13:09:21 [tomcat] Uninstall the service manually first
After opening the XAMPP panel and installing Apache service: I have tried start it, it always get stuck "Starting apache service..."
Any advice on how I could resolve this ?
Thanks
Jamil
I was able to fix this!
Had the same problems as stated above, made sure nothing was using port 80 and still not working and getting the message that Apache and Mysql were detected with the wrong path.
I did install XAMPP once before, uninstalled and reinstalled. I even manually uninstalled but still had issues.
The fix. Make sure you backup your system first!
Start Services via Control Panel>Admin Tools (also with Ctrl+R and services.msc)
Look for Apache and MySQL services. Look at the patch indicated in the description (right click on service then click on properties). Chances are that you have Apache listed twice, one from your correct install and one from a previous install. Even if you only see one, look at the path, chances are it's from a previous install and causing your install not to work. In either case, you need to delete those incorrect services.
a. Got to command prompt (run as administrator): Start > all programs > Accessories > right click on Command Prompt > Select 'run as administrator'
b. on command prompt type sc delete service, where service is the service you're wanting to delete, such as apache2.1 (or sc delete Apache2.4). It should be exactly as it appears in your services. If the service has spaces such as Apache 2.1 then enter it in quotes, i.e. sc delete "Apache 2.1"
c. press enter. Now refresh or close/open your services window and you'll see it`s gone.
DO THIS for all services that XAMPP finds as running with an incorrect path.
Once you do this, go ahead and restart the XAMPP control panel (as administrator) and voila! all works. No conflicts
my friend this the will fix ur problem ;)
in root of folder ( xampp ) just run this file ( setup_xampp.bat ) then press enter
and try to start the apache server
every things will work like charm ;)
The most likely reason would be that something else is using port 80. (Often this can be Skype, IIS, etc.)
This tutorials shows How to Change the Apache Port in XAMPP
I spent over 3 hours to find out solution. Actually port 80 was being used by "system" service so I tried to change port from 80 to 8080 in "httpd" file but same problem raised "port 80 is used by system". It had driven me mad for 3 hours as every thing was changed like port , localhost server etc pointing to 8080.
At last I found mistake that was server root. Basically "Server Root" in "httpd" should be pointing to apache foler of xampp. In my case that's was
ServerRoot "xampp/apache"
I just changed it as follows:
ServerRoot "C:/xampp/apache"
It has worked successfully and now everything is running with OK status.
refer this:- http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
and to enable telnet http://social.technet.microsoft.com/wiki/contents/articles/910.windows-7-enabling-telnet-client.aspx
I encountered the same issue after XAMPP v3.2.1 installation. I do not have Skype as most people would believe, however as a Software Developer I assumed port 80 is already in use by my other apps. So I changed it by simply using the XAMPP Control Panel:
Click on the 'Config' button corresponding to the APACHE service and choose the first option 'Apache (httpd.conf)'. In the document that opens (using any text editor - except MS Word!), locate the text:
Listen 12.34.56.78:80
Listen 80
And change this to:
Listen 12.34.56.78:83
Listen 83
This can be any non-used port number.
Thanks.
I know this is somewhat of an old topic, but in case anyone reads this in the future...
I uninstalled xampp, deleted everything under the c:\xampp folder, then reinstalled xampp as administrator and it worked like a charm.
For me, the problem was I had two installations of Apache Tomcat
The following steps solved my problem:
Open up services.msc in command prompt
Select the Apache Tomcat service, right click and select properties
Check the path to the executable of the service
Follow the instructions in
https://stackoverflow.com/questions/7190480/modifying-the-path-to-executable-of-a-windows-service
to change the path to "\tomcat\bin\tomcat7.exe" //RS//Tomcat7
Restart XAMPP Control Panel
I had my Apache service not start same as MySQL one.
Please follow these steps if none of above tips works :
Open regedit.exe on any windows this available . Run as administrator. (Only on windows 7 and later editions )
Go to local machine/system/controlset001/services
Find and delete folders of services apache and mysql .
Uninstall xampp . Delete folder of xampp.
Restart computer and reinstall Xampp . After that your Xampp apache and Mysql should work.
Note: Ports 80 and 443 must be unused by any program.
If it is in use . Just edit ports. There is a lot of tutorials about that .

Unable to start Apache in XAMPP

I have downloaded xampp-win32-1.7.7-usb-lite.7z and unzip it to C drive in my VirtualBox. Then i tried to start Apache through xampp-control.exe. when i press Start button in-front of Apache label, apache started port 80 display in text area in that window. but nothing happen. Start button not change to stop. but mysql is start properly. how could i start Apache ?
Try ZendServer CE, it works great in a Virtual Box. Apache gives problem inside a Virtual Box.
You can also refer this post: Apache won't start in VirtualBox
Try to Restart Xampp from the option Explore
Xampp Contorl-> Explore-> Xampp-Restart
If you have other service installed like .NET SQL Server it may block xampp
Xampp Contorl-> SCM -> SQL server-> Manual from Automatic
Xampp Control-> SCM-> Web client->Disabled
If you like to run service always Check SVC for both Apache Mysql It will ask you to install service click YES to install
Finally Restart your machine
i don't know whether your issue is resolved or not,if not please try the below mentioned cases
1.if your Skype account is logged in,please log out from that(usuall skype uses default Ports numbers 80 and 443 )
2.check whether any other application is running on the port 80,if so please change that port number to other.to see that from a command prompt, run netstat -a. This will output a list of ports that are currently running.
(how to change the default port number is open your httpd.conf file and search for localhost you will find 80 there and change that to your desired number)
i think these are the main cases so please go through this cases also..

Apache not running

I need to use Wordpress with XAMPP for a task in a study project.
I installed XAMPP, and now I'm supposed to start MySql and Apache from the Xamp Control Panel.
If I start the panel, it displays:
XAMPP Control Panel Version 2.5.8 (2009-07-28)
XAMPP for Windows Version 1.7.3
Windows 5.1 Build 2600 Platform 2 Service Pack 3
CurrentDirectory: C:\xampp
Status Check OK
If I click on the Start button for the Apache module, the following two lines are added:
Busy...
Apache started
But it's not started. It's still Stopped.
I found this thread, describing the same problem with a solution:
http://www.netshinesoftware.com/component/option,com_myblog/Itemid,65/show,Apache-wont-start-on-XAMPP.html/
But Skype is not running. If i check the ports in cmd with netstat -a -no there is one entry with port 80, but it's from IP adress 0.0.0.0 and the corresponding PID I cannot find in the 'tasklist'
What could be the problem and how can I resolve it?
Thank you!
Look in your error logs to see what Apache says: C:\xampp\apache\logs\error.log
And look at Server Fault; that's a better place for Apache and XAMPP questions: Questions containing 'xampp [apache] wont start' - Server Fault