Daniel On The Web Posted August 22, 2016 Share Posted August 22, 2016 (edited) Hello everyone. I tried to install and configure PHP and MySQL for use on my own website using XAMPP. However, the Apache module gives me an error each time I try to start it. 10:40:53 [main] Starting Check-Timer 10:40:53 [main] Control Panel Ready 10:41:07 [Apache] Problem detected! 10:41:07 [Apache] Port 80 in use by "Unable to open process" with PID 4! 10:41:07 [Apache] Apache WILL NOT start without the configured ports free! 10:41:07 [Apache] You need to uninstall/disable/reconfigure the blocking application 10:41:07 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 10:41:07 [Apache] Attempting to start Apache app... 10:41:07 [Apache] Status change detected: running 10:41:10 [Apache] Status change detected: stopped 10:41:10 [Apache] Error: Apache shutdown unexpectedly. 10:41:10 [Apache] This may be due to a blocked port, missing dependencies, 10:41:10 [Apache] improper privileges, a crash, or a shutdown by another method. 10:41:10 [Apache] Press the Logs button to view error logs and check 10:41:10 [Apache] the Windows Event Viewer for more clues 10:41:10 [Apache] If you need more help, copy and post this 10:41:10 [Apache] entire log window on the forums As the log said, I have to find and uninstall, disable or reconfigure the application which is blocking Port 80 or reconfigure Apache and the Control Panel to listen to a different port. The question is: What should I do? Should I change port or should I find the blocking application? And if the latter, which application could be blocking Port 80? Edited August 22, 2016 by Daniel On The Web Link to comment Share on other sites More sharing options...
dsonesuk Posted August 22, 2016 Share Posted August 22, 2016 Skype is main culprit, there is a setting in skype to change port if conflict wkth port 80. Link to comment Share on other sites More sharing options...
Daniel On The Web Posted August 22, 2016 Author Share Posted August 22, 2016 (edited) Skype is main culprit, there is a setting in skype to change port if conflict wkth port 80. I don't have Skype. It has to be another thing. Edited August 22, 2016 by Daniel On The Web Link to comment Share on other sites More sharing options...
dsonesuk Posted August 22, 2016 Share Posted August 22, 2016 Then its not the main culprit in your case. Link to comment Share on other sites More sharing options...
Daniel On The Web Posted August 22, 2016 Author Share Posted August 22, 2016 (edited) But... what else could be? If we don't find what is blocking port 80 I'll have to change the port to listen from. Edited August 22, 2016 by Daniel On The Web Link to comment Share on other sites More sharing options...
dsonesuk Posted August 22, 2016 Share Posted August 22, 2016 http://stackoverflow.com/questions/1960750/how-to-find-which-program-is-using-port-80-in-windows Link to comment Share on other sites More sharing options...
Daniel On The Web Posted August 22, 2016 Author Share Posted August 22, 2016 (edited) Ok. I went through the file httpd.conf of the Apache Module and changed the port to listen from. Now it's port 81. And it worked. However, when I type http://localhost I found an error 404 even with Apache activated. And what I am supposed to see is the XAMPP page. What else do I have to do? Edit: I changed the main port for Apache to 81 as well and typed http://localhost:81. This took me to the XAMPP page. Now I have to configure PHP and Apache so I can use them in my website. Edited August 22, 2016 by Daniel On The Web Link to comment Share on other sites More sharing options...
davej Posted August 22, 2016 Share Posted August 22, 2016 Usually when port 80 is conflicted then port 8080 is used next, but it doesn't really matter. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now