Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Marcus Bellon
2,866 PointsCan't run XAMPP, or more specifically Apache...
I get this error...
5:39:55 AM [Apache] Problem detected! 5:39:55 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:39:55 AM [Apache] Apache WILL NOT start without the configured ports free! 5:39:55 AM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:39:55 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port 5:39:55 AM [main] Starting Check-Timer 5:39:55 AM [main] Control Panel Ready 5:40:03 AM [Apache] Problem detected! 5:40:03 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:40:03 AM [Apache] Apache WILL NOT start without the configured ports free! 5:40:03 AM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:40:03 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
I'm not very technically savvy to this stuff (obviously, that's why I'm at Treehouse!), but I did check to see what was occupying Port 80 with PID 4 and it's called "NT Kernel & System" which I understand to be quite necessary to leave alone.
Anyway, if anyone can offer some help and keep in mind I'm not that technically advanced, that would be much appreciated!
9 Answers
Paulo Aguiar
14,120 PointsDo you have skype installed?
Marcus Bellon
2,866 PointsI do have skype installed, but it is not running.
Paulo Aguiar
14,120 PointsI would just make apache listen to a different port. port 8080 usually works.
fitsumkebede
Courses Plus Student 2,175 PointsPrepare your installation environment by ensuring you 1) have downloaded the appropriate version of XAMPP suitable for your operating system 2) disable antivirus software for the duration until XAMPP installation completes 3) remove/stop similar server software occupying port 8080 or use a different port number all together.
I run into a similar problem and these were the steps I followed to resolve it. Hope this helps.
Pirvan Marian
14,609 PointsGo in setting of skype and change port , turn off firewall. You can try easy php or other type of localsever , xampp it;s not lonly soft for this.
Marcus Bellon
2,866 PointsOkay, I've tried all these suggestions, even uninstalled Skype because I don't use it. Still getting the same error... just about fed up with this program, but super disappointed I can't continue with this track. I feel too lost.
Marcus Bellon
2,866 PointsOh, and I changed the port to 8080, but still not working.
Paulo Aguiar
14,120 PointsYou could install a new Virtual Machine (linux or windows), then your most likely to have no problems using the software.
fitsumkebede
Courses Plus Student 2,175 PointsUnderstand your frustration setting up XAMPP for the first time. Create a new Admin user account on windows and you should have no problems installing XAMPP.
1) Disable programs from starting at Windows boot-time 2) Create a new user account 3) Install XAMPP