[Fixed]XAMPP Installation Error:Port 80 or 443 already in use.Apache2.2 service failed.by Mohsin Patel March 18th, 2015 0 Comment
Xampp Installation Errors and Fixes :
After you have installed Xampp on your hard drive, running Mysql, Tomcat, Filezilla, Mercury and other add on components seems to be fairly easy. However, Apache, an essential component needed for your local server may refuse to run.
This usually happens because in some cases another program might be using port 80 ( the port Apache is assign to in C:\xampp\apache\conf\httpd.conf ) and Apache is unable to start.
These are the errors you may encounter In case of your Port :80 is in used by some other Application.
You’ve received an error message advising you that your port is already occupied.
XAMPP Installation Error:Port 80 or 443 already in use.Apache2.2 service failed.
Do you have Skype installed? It’s a known issue that if Skype was installed before XAMPP it will occupy port 80 which is the port that XAMPP needs to communicate with your Internet connection. There’s an easy fix for this problem.
Solution : Open up Skype and go to Tools and select Options. From the list that appears select Advanced and then Connection. There will probably be a check mark inside where it says “Use port 80 and 443 as alternatives for incoming connections” just unchecked that box and save your changes.
Skype will still function normally and now XAMPP will be able to use port 80 to run.
- Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream:
Solution: No such file or directory all this means is you need to create a lang.tmp file and add it to your XAMPP folder. So open up Notepad++ and you will already have a new blank file open.
Go to File and do a Save As name your file lang.tmp and save it to C:XAMPPhtdocsxampp
You can verify your successful installation by looking at Xampp Control panel which will shows “Running” status message in case you installed Xampp successfully.
Alternatively,you can check your Apache Server configured properly or not By Following step:
Now open up your browser (it doesn’t matter which one, IE, Firefox, or Flock) and type this in your address bar: http://localhost/ and press enter. Welcome to the XAMPP index screen.