Page 1 of 1

install a portable xampp on win 7 and run on win 10 too?

PostPosted: 11. May 2017 06:48
by incredibleanand
Is it possible to install a portable xampp on win 7 computer and run it on win 10 computer too?
As I installed portable xampp on my usb drive on win 7 computer and it runs well on the win 7 computer(32bit) but when I tried running it on my win 10(64bit) after I changed the conflicting ports it said "missing dependencies" though with the changes made in the port it still runs perfectly on win 7!

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 11. May 2017 10:15
by Nobbie
incredibleanand wrote:Is it possible to install a portable xampp on win 7 computer and run it on win 10 computer too?


I would say "yes".

Of course there might miss a runtime library (mostly a Microsoft C Runtime library), or there may be a conflict with drive letters, but generally it is not impossible to run one installation on different Windows releases. "Missing dependencies" is unknown to me, dont know what it means.

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 11. May 2017 19:43
by Altrea
yes, that is absolutely possible.
As Nobbie already said you need to make sure that Microsoft Visual C++ 2015 Redistributable is installed on all systems you want to use XAMPP.

I would recommend to use the XAMPP portable versions, because on them you can reset the paths without drive letter with the setup_xampp.bat script. The non portable versions will set drive letters in the paths if the setup_xampp.bat script is executed. And you need to be sure that the needed ports are free.
The portable versions can be found on sourceforge: https://sourceforge.net/projects/xampp/files/XAMPP Windows/

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 22. May 2017 11:53
by incredibleanand
Thanks a lot.. I downloaded Microsoft Visual C++ 2015 Redistributable... It diodn't fix it so I downloaded a fresh portable xampp 7.1.4 from http://www.computerbild.de/download/XAMPP-Portable-7397594.html and this worked on both the computers but then now I am facing an issue in accessing phpmyadmin from both the computers.

In win 10 Error #1045 [Access denied for user 'root@localhost' (using password:NO)]
In win 7 Error #2002 (No connection Target Machine actively refused it)

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 22. May 2017 11:55
by Nobbie
Seems as if you are running already different MySQL Servers on your Windows than Xampps MySQL. Does MySQL in Xampp start without any error? Or did you change anything in your Xampp installation?
On the Windows7 machine also a firewall might disrupt connection to the MySQL Server.

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 22. May 2017 16:57
by incredibleanand
Yes, they are both starting without any problem MySql and apache. But unable to access phpmyadmin

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 22. May 2017 18:10
by Nobbie
Maybe you changed something, seems as "root" has a password in Windows 10, and still on Windows 7 it looks like a firewall problem. Its definately impossible to fix that problem remotely, we dont have any further information. Something is wrong with your installations.

Re: install a portable xampp on win 7 and run on win 10 too?

PostPosted: 23. May 2017 15:03
by incredibleanand
@Nobbie.. You have a great heart and a helpful nature.. God bless you! :)
I was able to figure out the solution to the first problem I mentioned (missing dependencies).. The problem was with the drive letters... Once I changed that it got fixed!
I used the portable installer .exe and it worked But still unable to figure out how to use the zip portable installer, but thats ok.. Do you know how to make the install independent of the drive letter!