eroor while installing XAMPP

Dear Members,

I was trying to install XAMPP on my machine. But i am receiving following error:

12:28:23 [main] Initializing Control Panel
12:28:23 [main] Windows Version: Home 64-bit
12:28:23 [main] XAMPP Version: 7.0.4
12:28:23 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
12:28:23 [main] You are not running with administrator rights! This will work for
12:28:23 [main] most application stuff but whenever you do something with services
12:28:23 [main] there will be a security dialogue or things will break! So think
12:28:23 [main] about running this application with administrator rights!
12:28:23 [main] XAMPP Installation Directory: “c:\xampp”
12:28:23 [main] Checking for prerequisites
12:28:27 [main] All prerequisites found
12:28:27 [main] Initializing Modules
12:28:27 [Apache] Problem detected!
12:28:27 [Apache] Port 80 in use by “Unable to open process” with PID 4!
12:28:27 [Apache] Apache WILL NOT start without the configured ports free!
12:28:27 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:28:27 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
12:28:27 [main] Starting Check-Timer
12:28:27 [main] Control Panel Ready
12:29:20 [Apache] Problem detected!
12:29:20 [Apache] Port 80 in use by “Unable to open process” with PID 4!
12:29:20 [Apache] Apache WILL NOT start without the configured ports free!
12:29:20 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:29:20 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
12:29:20 [Apache] Attempting to start Apache app…
12:29:20 [Apache] Status change detected: running
12:29:21 [Apache] Status change detected: stopped
12:29:21 [Apache] Error: Apache shutdown unexpectedly.
12:29:21 [Apache] This may be due to a blocked port, missing dependencies,
12:29:21 [Apache] improper privileges, a crash, or a shutdown by another method.
12:29:21 [Apache] Press the Logs button to view error logs and check
12:29:21 [Apache] the Windows Event Viewer for more clues
12:29:21 [Apache] If you need more help, copy and post this
12:29:21 [Apache] entire log window on the forums
12:29:55 [mysql] Attempting to start MySQL app…
12:29:55 [mysql] Status change detected: running
12:30:13 [Apache] Problem detected!
12:30:13 [Apache] Port 80 in use by “Unable to open process” with PID 4!
12:30:13 [Apache] Apache WILL NOT start without the configured ports free!
12:30:13 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:30:13 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
12:30:13 [Apache] Attempting to start Apache app…
12:30:14 [Apache] Status change detected: running
12:30:15 [Apache] Status change detected: stopped
12:30:15 [Apache] Error: Apache shutdown unexpectedly.
12:30:15 [Apache] This may be due to a blocked port, missing dependencies,
12:30:15 [Apache] improper privileges, a crash, or a shutdown by another method.
12:30:15 [Apache] Press the Logs button to view error logs and check
12:30:15 [Apache] the Windows Event Viewer for more clues
12:30:15 [Apache] If you need more help, copy and post this
12:30:15 [Apache] entire log window on the forums

Please help.

Regards.

I think you have at least two problems?

One is I think that you have to make sure no other application is using port 80, such as a virus checker, an email program, steam, etc… I find it easier to find the culprit application than guessing the correct port, for majority of the times it’s an application you can live without or use a different one. Or even close it (the offending app), then reopen it after you have started xampp local servers.

Second you have to run the application as an administrator, just right click and it should give you the option to run as an administrator.

HTH JOhn

Skype generally runs on 80. I have 3 servers running on my machine and use 80 for IIS, 81 for apache1, and 8080 for apache2.

Sponsor our Newsletter | Privacy Policy | Terms of Service