Just installed XAMPP 5.6.31
Cannot start apache and mySQL
Here is the problem log
20:01:13 [main] Initializing Control Panel
20:01:13 [main] Windows Version: Home 64-bit
20:01:13 [main] XAMPP Version: 5.6.31
20:01:13 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
20:01:13 [main] You are not running with administrator rights! This will work for
20:01:13 [main] most application stuff but whenever you do something with services
20:01:13 [main] there will be a security dialogue or things will break! So think
20:01:13 [main] about running this application with administrator rights!
20:01:13 [main] XAMPP Installation Directory: "c:\xampp\"
20:01:13 [main] Checking for prerequisites
20:01:13 [main] All prerequisites found
20:01:13 [main] Initializing Modules
20:01:13 [Apache] Problem detected!
20:01:13 [Apache] Port 80 in use by "Unable to open process" with PID 4!
20:01:13 [Apache] Apache WILL NOT start without the configured ports free!
20:01:13 [Apache] You need to uninstall/disable/reconfigure the blocking application
20:01:13 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
20:01:13 [mysql] MySQL Service detected with wrong path
20:01:13 [mysql] Change XAMPP MySQL and Control Panel settings or
20:01:13 [mysql] Uninstall/disable the other service manually first
20:01:13 [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
20:01:13 [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
20:01:13 [mysql] Problem detected!
20:01:13 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL"!
20:01:13 [mysql] MySQL WILL NOT start without the configured ports free!
20:01:13 [mysql] You need to uninstall/disable/reconfigure the blocking application
20:01:13 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
20:01:13 [main] Starting Check-Timer
20:01:13 [main] Control Panel Ready
20:01:26 [Apache] Problem detected!
20:01:26 [Apache] Port 80 in use by "Unable to open process" with PID 4!
20:01:26 [Apache] Apache WILL NOT start without the configured ports free!
20:01:26 [Apache] You need to uninstall/disable/reconfigure the blocking application
20:01:26 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
20:01:26 [Apache] Attempting to start Apache app...
20:01:27 [Apache] Status change detected: running
20:01:30 [Apache] Status change detected: stopped
20:01:30 [Apache] Error: Apache shutdown unexpectedly.
20:01:30 [Apache] This may be due to a blocked port, missing dependencies,
20:01:30 [Apache] improper privileges, a crash, or a shutdown by another method.
20:01:30 [Apache] Press the Logs button to view error logs and check
20:01:30 [Apache] the Windows Event Viewer for more clues
20:01:30 [Apache] If you need more help, copy and post this
20:01:30 [Apache] entire log window on the forums
20:01:31 [mysql] Problem detected!
20:01:31 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL"!
20:01:31 [mysql] MySQL WILL NOT start without the configured ports free!
20:01:31 [mysql] You need to uninstall/disable/reconfigure the blocking application
20:01:31 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
20:01:31 [mysql] Attempting to start MySQL service...