Incorrect Path in multiple installions of xampp in windw 10

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

Incorrect Path in multiple installions of xampp in windw 10

Postby mnhpias » 28. May 2020 08:57

I have two different xampp installations in my windows 10.

One is in C drive , XAMPP Version: 7.2.5, Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ], it's working fine.

Second one is in G drive XAMPP Version: 7.4.6, Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ] and it's not working. I've changed as follows:

in httpd.conf >>>

Code: Select all
#Listen 12.34.56.78:80
Listen 82


in httpd-ssl.conf >>>

Code: Select all
#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Listen 444

##
## SSL Virtual Host Context
##


<VirtualHost _default_:444>


#   General setup for the virtual host
DocumentRoot "G:/xampp/htdocs"
ServerName www.example.com:444
ServerAdmin admin@example.com


in my.ini >>>


Code: Select all
# The following options will be passed to all MySQL clients
[client]
# password       = your_password
port=3307
socket="G:/xampp/mysql/mysql.sock"


in FileZilla Server.xml >>>

Code: Select all
<FileZillaServer>
    <Settings>
        <Item name="Admin port" type="numeric">14148</Item>
    </Settings>
</FileZillaServer>


But when I start xampp, it founds wrong path :

Code: Select all
1:47:32 PM  [Apache]    Apache Service detected with wrong path
1:47:32 PM  [Apache]    Change XAMPP Apache and Control Panel settings or
1:47:32 PM  [Apache]    Uninstall/disable the other service manually first
1:47:32 PM  [Apache]    Found Path: "C:\xampp\apache\bin\httpd.exe" -k runservice
1:47:32 PM  [Apache]    Expected Path: "g:\xampp\apache\bin\httpd.exe" -k runservice
1:47:32 PM  [Apache]    Problem detected!
1:47:32 PM  [Apache]    Port 80 in use by ""C:\xampp\apache\bin\httpd.exe" -k runservice" with PID 13860!
1:47:32 PM  [Apache]    Apache WILL NOT start without the configured ports free!
1:47:32 PM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
1:47:32 PM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
1:47:32 PM  [Apache]    Problem detected!
1:47:32 PM  [Apache]    Port 443 in use by ""C:\xampp\apache\bin\httpd.exe" -k runservice" with PID 13860!
1:47:32 PM  [Apache]    Apache WILL NOT start without the configured ports free!
1:47:32 PM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
1:47:32 PM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
1:47:32 PM  [mysql]    MySQL Service detected with wrong path
1:47:32 PM  [mysql]    Change XAMPP MySQL and Control Panel settings or
1:47:32 PM  [mysql]    Uninstall/disable the other service manually first
1:47:32 PM  [mysql]    Found Path: C:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
1:47:32 PM  [mysql]    Expected Path: g:\xampp\mysql\bin\mysqld.exe --defaults-file=g:\xampp\mysql\bin\my.ini mysql
1:47:32 PM  [mysql]    Problem detected!
1:47:32 PM  [mysql]    Port 3306 in use by "C:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql"!
1:47:32 PM  [mysql]    MySQL WILL NOT start without the configured ports free!
1:47:32 PM  [mysql]    You need to uninstall/disable/reconfigure the blocking application
1:47:32 PM  [mysql]    or reconfigure MySQL and the Control Panel to listen on a different port
1:47:32 PM  [filezilla]    FileZilla Service detected with wrong path
1:47:32 PM  [filezilla]    Change XAMPP FileZilla and Control Panel settings or
1:47:32 PM  [filezilla]    Uninstall/disable the other service manually first
1:47:32 PM  [filezilla]    Found Path: "C:\xampp\filezillaftp\filezillaserver.exe"
1:47:32 PM  [filezilla]    Expected Path: "g:\xampp\FileZillaFTP\filezillaserver.exe"
1:47:32 PM  [filezilla]    Problem detected!
1:47:32 PM  [filezilla]    Port 21 in use by ""C:\xampp\filezillaftp\filezillaserver.exe""!
1:47:32 PM  [filezilla]    FileZilla WILL NOT start without the configured ports free!
1:47:32 PM  [filezilla]    You need to uninstall/disable/reconfigure the blocking application
1:47:32 PM  [filezilla]    or reconfigure FileZilla and the Control Panel to listen on a different port
1:47:32 PM  [filezilla]    Problem detected!
1:47:32 PM  [filezilla]    Port 14147 in use by ""C:\xampp\filezillaftp\filezillaserver.exe""!
1:47:32 PM  [filezilla]    FileZilla WILL NOT start without the configured ports free!
1:47:32 PM  [filezilla]    You need to uninstall/disable/reconfigure the blocking application
1:47:32 PM  [filezilla]    or reconfigure FileZilla and the Control Panel to listen on a different port


How to solve this problem ?
mnhpias
 
Posts: 4
Joined: 28. May 2020 08:43
XAMPP version: XAMPP Version: 7.2.5
Operating System: Windows 10

Re: Incorrect Path in multiple installions of xampp in wind

Postby Altrea » 28. May 2020 09:13

You are using Windows services for the first XAMPP installation. A Windows service needs a unique service name.
You can change the expected service name in the XAMPP control panel configs menu.
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: Incorrect Path in multiple installions of xampp in wind

Postby mnhpias » 28. May 2020 10:25

Thank you very much for your reply. I've changed the apache service name form "Service Settings " and Apache Server has been started.
I've also edited the service names of MySQL and FileZilla.
But I have faced another problem when I open "http://localhost:82/phpmyadmin/" , MySQL opens from xampp server in C drive , not new MySQL from xampp of G drive. How to solve this problem ?

Code: Select all
3:35:02 PM  [main]    Initializing Control Panel
3:35:02 PM  [main]    Windows Version:  Enterprise  64-bit
3:35:02 PM  [main]    XAMPP Version: 7.4.6
3:35:02 PM  [main]    Control Panel Version: 3.2.4  [ Compiled: Jun 5th 2019 ]
3:35:02 PM  [main]    Running with Administrator rights - good!
3:35:02 PM  [main]    XAMPP Installation Directory: "g:\xampp\"
3:35:02 PM  [main]    Checking for prerequisites
3:35:02 PM  [main]    All prerequisites found
3:35:02 PM  [main]    Initializing Modules
3:35:02 PM  [Apache]    XAMPP Apache Service is already running on port 82
3:35:02 PM  [Apache]    XAMPP Apache Service is already running on port 444
3:35:02 PM  [mysql]    XAMPP MySQL Service is already running on port 3307
3:35:02 PM  [filezilla]    XAMPP FileZilla Service is already running on port 14148
3:35:02 PM  [main]    Starting Check-Timer
3:35:02 PM  [main]    Control Panel Ready
mnhpias
 
Posts: 4
Joined: 28. May 2020 08:43
XAMPP version: XAMPP Version: 7.2.5
Operating System: Windows 10

Re: Incorrect Path in multiple installions of xampp in wind

Postby Altrea » 28. May 2020 11:37

mnhpias wrote:when I open "http://localhost:82/phpmyadmin/" , MySQL opens from xampp server in C drive , not new MySQL from xampp of G drive. How to solve this problem ?

You need to specify the new MySQL Database port in your phpmyadmin config.inc.php file => https://docs.phpmyadmin.net/de/latest/c ... rvers_port
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: Incorrect Path in multiple installions of xampp in wind

Postby mnhpias » 28. May 2020 18:35

You need to specify the new MySQL Database port in your phpmyadmin config.inc.php file => https://docs.phpmyadmin.net/de/latest/c ... rvers_port

Thanks, It worked. I've changed as follows:

in config.inc.php >>>

Code: Select all
$cfg['Servers'][$i]['port']='3307';     // MySQL port of my new mysql
mnhpias
 
Posts: 4
Joined: 28. May 2020 08:43
XAMPP version: XAMPP Version: 7.2.5
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 162 guests