You are here

XAMPP running on both local pc and on USB?

6 posts / 0 new
Last post
jeru
Offline
Last seen: 12 years 1 week ago
Joined: 2011-09-21 08:44
XAMPP running on both local pc and on USB?

I have a working XAMPP installation on my pc. I just added XAMPP on my USB stick.
This all seems to work fine, except, when I try to open my files in a browser with
https://127.0.0.1/filename etc It opens the files on my local pc. Even when I run XAMPP via portable apps.

Am I doing something wrong? I would like to open my files on my USB when launching XAMPP via portable apps.

Any help is greatly appreciated.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 10 min 21 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Are you using Apache

Are you using Apache installed as a service?
If so, running Apache from the portable XAMPP Launcher will run the service installed by the local XAMPP, you will have to uninstall and re-install the service from the portable XAMPP Launcher, then it should point you in the right direction.

jeru
Offline
Last seen: 12 years 1 week ago
Joined: 2011-09-21 08:44
Thanks winterblood for your

Thanks winterblood for your reply.

Are you using Apache installed as a service?

I am sorry, but I am not sure what this means, can you please explain?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 10 min 21 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
If you open the launcher of

If you open the launcher of either of your XAMPP installs, is the checkbox to the left of Apache ticked? If so, this means you are running your local Apache as a Windows service.

Another thing to try which I have just thought of (can't test it as I don't have a local and portable version near me right now) is to make sure Apache is stopped from your local launcher before starting it from your portable launcher.

Let me know how you go...

jeru
Offline
Last seen: 12 years 1 week ago
Joined: 2011-09-21 08:44
That's the solution! I've

That's the solution! I've unchecked the 'Svc' option for Apache.
Did not realize Apache was running silently on the background (although this
was pretty obvious...)

Thanks for your support!

Ken Herbert
Ken Herbert's picture
Online
Last seen: 10 min 21 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
No worries, glad to help.

No worries, glad to help.

Log in or register to post comments