xampp looking in incorrect folder for apache & MySQL

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

xampp looking in incorrect folder for apache & MySQL

Postby echappee » 06. February 2021 21:36

3:08:23 PM [main] Initializing Control Panel
3:08:23 PM [main] Windows Version: Windows 7 Professional SP1 64-bit
3:08:23 PM [main] XAMPP Version: 8.0.1
3:08:23 PM [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
3:08:23 PM [main] Running with Administrator rights - good!
3:08:23 PM [main] XAMPP Installation Directory: "e:\xampp\"
3:08:23 PM [main] Checking for prerequisites
3:08:24 PM [main] All prerequisites found
3:08:24 PM [main] Initializing Modules
3:08:24 PM [Apache] Apache Service detected with wrong path
3:08:24 PM [Apache] Change XAMPP Apache and Control Panel settings or
3:08:24 PM [Apache] Uninstall/disable the other service manually first
3:08:24 PM [Apache] Found Path: "L:\xampp\apache\bin\httpd.exe" -k runservice
3:08:24 PM [Apache] Expected Path: "e:\xampp\apache\bin\httpd.exe" -k runservice

3:08:24 PM [mysql] MySQL Service detected with wrong path
3:08:24 PM [mysql] Change XAMPP MySQL and Control Panel settings or
3:08:24 PM [mysql] Uninstall/disable the other service manually first
3:08:24 PM [mysql] Found Path: L:\xampp\mysql\bin\mysqld.exe --defaults-file=l:\xampp\mysql\bin\my.ini mysql
3:08:24 PM [mysql] Expected Path: e:\xampp\mysql\bin\mysqld.exe --defaults-file=e:\xampp\mysql\bin\my.ini mysql

How do I fix this? There is no L directory on my computer. XAMPP is installed on E drive.

Thanks,
Ed Chappee
echappee
 
Posts: 2
Joined: 06. February 2021 20:54
XAMPP version: 8.0.1
Operating System: Win 7 Pro, 64

Re: xampp looking in incorrect folder for apache & MySQL

Postby Nobbie » 07. February 2021 13:59

echappee wrote:[b]3:08:24 PM [Apache] Uninstall/disable the other service manually first



You already have a Windows Service "APACHE" (or "APACHE2") installed on your computer (which points to L:....). Windows Services are part of the Windows Setup. You should go into the Services dialog and delete the Apache service. If you dont know how to edit Windows services, ask in a Microsoft Windows support forum, as that is not a Xampp issue.

Same problem for MySQL, there is already a "MYSQL" service in your Windows Services, you should delete that either.

You probably once had a Xampp installation on L:, but did not uninstall it fully (you only deleted the files and folders, but missed the Windows Services).
Nobbie
 
Posts: 11916
Joined: 09. March 2008 13:04

Re: xampp looking in incorrect folder for apache & MySQL

Postby Altrea » 07. February 2021 15:42

The problem is that there are registered services left.

Nobbie cannot know that Windows does not provide a possibility to unregister services in the services dialog, because he uses Linux only.

Please unregister the service for Apache and MySQL in your Windows cmd (started with elevated administrator rights: rightclick -> run as administrator)
Code: Select all
sc delete Apache2.4

Code: Select all
sc delete mysql
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: 10727
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: xampp looking in incorrect folder for apache & MySQL

Postby echappee » 07. February 2021 16:26

Thanks, I'll give it a try!
echappee
 
Posts: 2
Joined: 06. February 2021 20:54
XAMPP version: 8.0.1
Operating System: Win 7 Pro, 64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 75 guests