I try to install xampp but after I finish installing the apache does not open because Rather, uses port 80 which uses the system. Is there a solution? Am using windows 7 ultimate. Thanks
While this may or may not be applicable to anyone else's situation, thought I'd add my experiences with the exact same problem that OP Αποστόλης had.
Installing the portable v. of XAMPP 1.8.3 (using the compressed Windows binary from SourceForge "xampp-portable-win32-1.8.3-2-VC11") resulted in the error message detailed above in XAMPP control panel v.3.2.1. I prefer portable installations to avoid difficulties with file & folder permissions and/or UAC, and I run most of them from a drive other than that where Windows is installed (i.e., "C:" in a default-configuration build). Being aware of the limitations of running XAMPP from a location other than the recommended "C:\xampp" folder (see the Apache Friends Support Forum page "XAMPP and Windows 7 Pro" for more information on some of these limitations), I decided this was not likely to be the source of my problem, and that what the control panel was reporting - "Port 80 in use by system" - was the best starting point for troubleshooting. Thus I decided to try and find what service or application was listening on Port 80. I figured I'd be able to determine this via Netstat, using various command line "switch" parameters: first "netstat -bano", followed by "netstat -aon", both run from an Elevated Command Prompt, but had no success identifying the service or application.
Upon consideration of what might be conflicting with the Apache server portion of XAMPP, I recalled that I'd installed IIS (Internet Information Services) via Windows Features. Checking Services (if you don't use a canonical shortcut as I do, it's accessible via Control Panel >> Administrative Tools >> Component Services >> Services (Local)) revealed that Web Deployment Agent Service (Service name WMSVC) was not listed, but World Wide Web Publishing Service (Service name W3SVC) was, and it was set to start automatically*.* Changing the startup type to manual and restarting XAMPP did the trick and I was able to access phpMyAdmin, from which result I'm led to conclude that the W3SVC service was occupying port 80. Helpful information about this topic is to be found in the StackOverflow posts "XAMPP Port 80 Error In Windows 7" and "work by Apache and port 80 \[closed\]"; more information about installing and configuring IIS is here.
It's my understanding that several services and applications use Port 80 (IIS, obviously, as well as Skype, sometimes the Windows Kernel itself, etc.), so there's always the possibility that should I begin using such applications or services, I'll end up having to edit the httpd.conf file @ [drive letter]:[install folder if you created such]\xampp\apache\conf, in order to redirect Apache to listen on another port (see the 12 May 2010 post by buckmajor in the above mentioned Apache Friends Support Forum thread, or simply click here to go directly to that post), but until I do need this capability the workaround I've described is working well. The consequences of changing the default startup type for World Wide Web Publishing Service - other than the impact when trying to run Apache & IIS simultaneously while both are configured to use port 80 for listening - may be better understood after reviewing Black Viper's information about this service. Hope this helps someone in the Community.