Having Trouble Stating XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: Having Trouble Stating XAMPP

Postby Altrea » 12. August 2020 06:32

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Having Trouble Stating XAMPP

Postby ForumUser7873 » 12. August 2020 13:44

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?
ForumUser7873
 
Posts: 3
Joined: 12. August 2020 00:27
XAMPP version: 3.2.4
Operating System: Windows 10

Re: Having Trouble Stating XAMPP

Postby Altrea » 12. August 2020 15:10

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Having Trouble Stating XAMPP

Postby ForumUser7873 » 12. August 2020 21:11

It worked! thank you so so much. :)
ForumUser7873
 
Posts: 3
Joined: 12. August 2020 00:27
XAMPP version: 3.2.4
Operating System: Windows 10

Re: Having Trouble Stating XAMPP

Postby Altrea » 12. August 2020 21:19

You are welcome 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 221 guests