Skip to main content

Tech Solution

Tech Problem Solved..


Apache Shutdown Unexpectedly and Port 80 in use by "Unable to open process " with PID 4!
 


       This generally occurs due to multiple servers is running like MYSQL server 5.0/6.0 if you really want to run only xampp server for database Projects. So, Let's start with solving this problem Step by Step.


Step 1: Click on Config -> Apache (httpd.conf) -> Search in that file "Listen 80" and convert it -> "Listen 8080" save it.

Step 2Click on Config -> Apache (httpd-ssl.conf) -> Search in that file " Listen 443 " and convert it -> " Listen 4433 " and another changes make  another search               VirtualHost _default_:443 " convert it to -> " VirtualHost _default_:4433 " and save it.

Step 3: Run CMD in administrator mode and type this command SC Delete MySQL" and hit enter this will delete the default MySQL service running in the services.msc this Process will free the Port 80 use.

Step 4: you can go Start with MySQL of Xamp open Xamp Control Panel and try to click on Apache, MySQL starts. Comment below if any query occurs in this process.


        Thank you Very much

   

Comments