Archive for the ‘xampp’ Category

Apache doesn’t start in XAMPP

I’ve already had this problem a lot of times. Apache does not start in XAMPP. I’ve had this problem in my computers and computers of my friends. As I know based on my practice, the key of this problem is in ports. Because ports that Apache uses are busy it cannot start.

By default, Apache listens a port number 80 for HTTP and a port number 443 for HTTPS.

In your system other web server may run. For example, Internet Information Services (IIS) or something else. This web server can use ports that Apache needs, I mean 80 and 443. In this way, to fix the problem you need to change the default numbers of ports of Apache or numbers of ports of the other web server that runs on your system. To change this values find Listen command in these files and change the value:

  • C:\xampp\apache\conf\httpd.conf
  • C:\xampp\apache\conf\extra\httpd-ssl.conf

If you have Skype it also uses these ports. In this way, to fix the problem you should uncheck the usage of these ports in Skype settings or change the numbers of ports using the method above.