XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:

前端 未结 13 2272
渐次进展
渐次进展 2020-12-03 01:54

This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims por

13条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 01:58

    xampp port 80 is busy when some other application is using the same port at that time. This can be solved by using one of the following methods:

    1. Detect the application which is using the port 80 and close it.
    2. This one is more efficient. xampp installs apache server with default port 80. So, you can change this port manually to any number.

    Just find the httpd.conf file in xampp installation and replace the following line of code.

    #Listen 12.34.56.78:1234
    Listen 80
    

    to any port number of your choice. Here, i have taken 8000.

    #Listen 12.34.56.78:1234
    Listen 8000
    

    Find the following code in the same file httpd.conf

    ServerName localhost
    

    Replace with the following, take the same number you have used in upper code.

    ServerName localhost:8000
    

    For detailed answer, check http://webolute.com/blog/programming/this-may-be-due-to-a-blocked-port-missing-dependencies

提交回复
热议问题