wamp-on-usb can't start service on second pc
Posted by: niceguy (---.dyn.optonline.net)
Date: August 02, 2008 06:13PM

hi all,

i have current wampmanger running on usb all good. but when i stick the usb into a second pc, the wampmanger started but no service. seems like something is preventing apache and mysql from starting.

so there seems to be something machine-dependent that occurred during the initial install on usb that causes it to work on the original pc but not the second pc.

where/what should i check? anyone has wamp-on-usb running on multiple machine?

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: August 02, 2008 07:09PM

did u install wamp on both pcs first? to install the services? then delete the wamp folders on both?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: niceguy (---.dyn.optonline.net)
Date: August 02, 2008 08:37PM

i only installed once directly on usb.

not sure what you're suggesting... i have to install locally on each pc too then delete the wamp folder? not sure i could do that since mysql needs db files and those are on usb. i would have to copy db files to each pc in order to run locally. and this whole scheme kind of defeats the purpose of having everything on usb, no?

please clarify your suggestion...

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: August 03, 2008 08:01AM

no.. i find if you install wamp on both machines.. then delete the wamp folders from the c drive of both but put a copy of it first onto the usb stick then it works, wamp stores 3 values in the registry of windows at the time of install and needs to acess them to run wamp. so ul need to have them on both machines.

do like this..

1 install wamp on pc1
2. copy the whole www folder and place onto the usb stick
3. delete (do not uninstall) )the wamp folder off pc1
4. install wamp on pc2
5. delete (do not uninstall) the wamp folder on pc2
6 set the usb stick to always have the same drive letter on both machines

-----------------------------------------------------------------------
on each pc then do this

goto start, run, and type in regedit.goto this in the left pane
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wampapache

in the right pane , right click Imagepath and click modify. change c:/ to the drive letter of your usb stick

repeat this for
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wampmysqld

and
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\MUICache
change the path of APACHE HTTP SERVER in the right pane

repeat on both machines.

-------------------------------------------------------------------------------------------

then plug in usb stick into pc and start wamp.. u can use the shortcuts on ur start menu if u change the drive lettters in the short path to ur usb drive letter





or you could set the drive letter of usb stick, install wamp onto usb stick on one machine. this will set the registry values, then delete the wamp folder off the usb stick , and install onto the usb stick again on pc2. this way u wont need to edit the registry as the paths will be right.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 3 time(s). Last edit at 08/03/2008 08:18AM by stevenmartin99.

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: yfastud (Moderator)
Date: August 03, 2008 08:57AM

This way is most convenient but you have to create some batch files to make it work:
1. Install wamp on usb or any computer then copy wamp folder on to usb
2. Create batch file to auto insert reg keys for wamp when it starts and wipe them out when wamp stops so you can use your usb in any computer w/o install wamp
3. Create another batch file to recognize usb no matter what drive letter it becomes so you can use it in any computer w/o setup drive letter, even public computer w/o privilege to change drive letter

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 1 time(s). Last edit at 08/04/2008 03:44PM by yfastud.

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: niceguy (---.dyn.optonline.net)
Date: August 03, 2008 06:55PM

i already assigned a fixed drive letter to the usb on both pc's. so i just need to install wamp on usb a second time but on 2nd pc.

q: if i install over current wamp on usb on 2nd pc, will wamp bring forth the current config file? would prefer this then to delete wamp and install and set config again.

and just to confirm, the only local-stored data are the registry values during install, right? that means i can still modify wamp config whenever needed since all that is on usb, and applicable to both pc.

the batch file idea is great. but i haven't played around the reg file at all, so will have to leave that to future...

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: August 03, 2008 11:09PM

yes u can change all ur config files in wamp as normal. reg values are just to let the services start.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: amarines (---.cn1.myschools.net)
Date: February 10, 2011 04:23AM

yfastud Wrote:
-------------------------------------------------------
> This way is most convenient but you have to create
> some batch files to make it work:
> 1. Install wamp on usb or any computer then copy
> wamp folder on to usb
> 2. Create batch file to auto insert reg keys for
> wamp when it starts and wipe them out when wamp
> stops so you can use your usb in any computer w/o
> install wamp
> 3. Create another batch file to recognize usb no
> matter what drive letter it becomes so you can use
> it in any computer w/o setup drive letter, even
> public computer w/o privilege to change drive
> letter

Any chance you could upload such a batch file? I am not familiar with how to do such methods but that solution is one I wish to pursue... if not is it something that can be done easily or has someone already created such files?



Edited 1 time(s). Last edit at 02/10/2011 04:29AM by amarines.

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: yfastud (Moderator)
Date: February 10, 2011 04:55AM

Just simply download and use the portable wamp version winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: amarines (---.mnqi2.cht.bigpond.net.au)
Date: February 10, 2011 11:14AM

You lost me, the only variations I see is the 32-bit and the 64-bit versions on the download page... where is the portable wamp download hiding yawning smiley

yfastud Wrote:
-------------------------------------------------------
> Just simply download and use the portable wamp
> version winking smiley

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: yfastud (Moderator)
Date: February 10, 2011 02:59PM

My bad sad smiley
It's posted there couple there ago but you still able to get it on Sourceforge

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: wamp-on-usb can't start service on second pc
Posted by: thomassy (---.access.telenet.be)
Date: May 12, 2012 08:42PM

You may indeed find it on SourceForge. Go through files to WampServer 2 and go to Wampee. This is the portable version of WampServer or go to this link: [sourceforge.net] 202/Wampee% 202.1% /

Options: ReplyQuote


Sorry, only registered users may post in this forum.