FlipKart

Thursday 26 February 2015

Problems in installation of XAMPP ?

Some common Errors:

a)Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies.
Possible Solutions:
Most of the times these errors are due to the same port (Default :80) is used by some other services say Internet Information Services (IIS) ,Skype etc.

Possible solutions :

So either these services can be turned off or port of the apache should be changed to solve the above the problems.

Method1 :
Steps :
-> open your xampp control panel then click its "config"
-> choose the "Apache (httpd.conf)" and find this code below and change it into this one:
# change this to Listen on specific IP addresses as shown below
# to prevent Apache from glomming onto all bound IP addresses.
# Listen 0.0.0.0:80
# Listen [::]:80
Listen 80
->save it (ctrl + s)
->Click again on config
-> choose "Apache (httpd-ssl.conf)" find this code below and change it again:
# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
# Listen 0.0.0.0:443
# Listen [::]:443
Listen 443
->save it (ctrl + s)

Method 2 : Change the port 80 to some other port say 81
steps :
-> open your xampp control panel then click its "config"
-> choose the "Apache (httpd.conf)"
->Change line
Listen 80 to Listen 81
-> Change line
ServerName localhost:80 to ServerName localhost:81
->start the apache

Method 3 :Turning off the IIS server
Steps :
-> Go to the "control panel" -> "Programs & Features" -> "Turn Windows On or Off".
-> Uncheck your "Internet Information Services" then click ok.
Still doesn't Work ?
No problem ,have you installed any virtual machines such as vmware ?

Method 4:
If you have VMWare Workstation installed , the option to share VM's is listening to port 443. That is preventing an Apache-server to start (xampp).
steps:
-> open vmware software
-> Choose Edit > Preferences > Share VM's
and change 443 to some other value for instance
->Start the apache server

Hope this works !!!

No comments:

Post a Comment