Page 1 of 1

Re: Having Trouble Stating XAMPP

PostPosted: 12. August 2020 06:32
by Altrea
Hi,

The error messages are pretty much self explaining i think.
00:20:13 [Apache] Apache Service detected with wrong path
00:20:13 [Apache] Change XAMPP Apache and Control Panel settings or
00:20:13 [Apache] Uninstall/disable the other service manually first
00:20:13 [Apache] Found Path: "F:\xampp_server\apache\bin\httpd.exe" -k runservice
00:20:13 [Apache] Expected Path: "f:\desktop\xampp\apache\bin\httpd.exe" -k runservice

Obviously you have (previously) installed another xampp version in path F:\xampp_server\ and setted Windows servives for Apache and MariaDB.
Because the service names are the same for every xampp bundles (and the single components too), XAMPP has a problem and cannot start.

You can now try to solve this problem by one of the following strategies:
  • change the service names of the components Apache and MariaDB in the XAMPP control panel config.
  • unregister the Services. This can be done for example in an elevated command line prompt by the following commands
    Code: Select all
    sc delete Apache2.4
    sc delete mysql

This probably will not solve your problem, because if the other XAMPP installation is still existent it is automatically started by your OS and because of that will block the needed default ports. So you would need to stop the other XAMPP components manually or change the default ports too.

Re: Having Trouble Stating XAMPP

PostPosted: 12. August 2020 13:44
by ForumUser7873
Thank you for your response. I moved the XAMMP directory back to F:\xampp_server, but now I get a new error message here;

13:39:34 [main] Initializing Control Panel
13:39:34 [main] Windows Version: Enterprise 64-bit
13:39:34 [main] XAMPP Version: 7.4.8
13:39:34 [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
13:39:34 [main] Running with Administrator rights - good!
13:39:34 [main] XAMPP Installation Directory: "f:\xampp_server\"
13:39:34 [main] Checking for prerequisites
13:39:34 [main] All prerequisites found
13:39:34 [main] Initializing Modules
13:39:34 [main] Starting Check-Timer
13:39:34 [main] Control Panel Ready
13:39:35 [Apache] Attempting to start Apache service...
13:39:46 [mysql] Attempting to start MySQL service...
13:39:48 [mysql] Status change detected: running
13:39:52 [Apache] Attempting to start Apache service...
13:39:55 [mysql] Status change detected: stopped
13:39:55 [mysql] Error: MySQL shutdown unexpectedly.
13:39:55 [mysql] This may be due to a blocked port, missing dependencies,
13:39:55 [mysql] improper privileges, a crash, or a shutdown by another method.
13:39:55 [mysql] Press the Logs button to view error logs and check
13:39:55 [mysql] the Windows Event Viewer for more clues
13:39:55 [mysql] If you need more help, copy and post this
13:39:55 [mysql] entire log window on the forums
13:43:10 [mysql] Attempting to start MySQL service...
13:43:10 [Apache] Attempting to start Apache service...
13:43:10 [mysql] Status change detected: running
13:43:15 [mysql] Status change detected: stopped
13:43:15 [mysql] Error: MySQL shutdown unexpectedly.
13:43:15 [mysql] This may be due to a blocked port, missing dependencies,
13:43:15 [mysql] improper privileges, a crash, or a shutdown by another method.
13:43:15 [mysql] Press the Logs button to view error logs and check
13:43:15 [mysql] the Windows Event Viewer for more clues
13:43:15 [mysql] If you need more help, copy and post this
13:43:15 [mysql] entire log window on the forums

Could it be something with my firewall?

Re: Having Trouble Stating XAMPP

PostPosted: 12. August 2020 15:10
by Altrea
Please try to unregister the services first.
You can also do this in the control panel by clicking the green check icons.

After that please run the file setup_xampp.bat once by double clicking. Now you can try again to start the Apache and MariaDB.

Re: Having Trouble Stating XAMPP

PostPosted: 12. August 2020 21:11
by ForumUser7873
It worked! thank you so so much. :)

Re: Having Trouble Stating XAMPP

PostPosted: 12. August 2020 21:19
by Altrea
You are welcome 8)