Mobile app version of vmapp.org
Login or Join
Bryan171

: How to move wamp server 2.2 to another drive? I have drive D: where my wamp server 2.2 was on for years and needed to move it to SSD drive F:. I proceeded like this: stopped all wamp

@Bryan171

Posted in: #Wamp #Wampserver

I have drive D: where my wamp server 2.2 was on for years and needed to move it to SSD drive F:. I proceeded like this:


stopped all wamp services, exited aestryan menu
copied wamp installation without www (too much junk) folder, from drive D: to drive F:
created fresh www folder copied one WP install in there including original wamp index.php and loader-wizard.php
used PowerGrep to replace all instances of D:/wamp to F:/wamp
checked all ini/config files ,php, phpMyadmin, aliases, apache, the new drive letter is set.
Double clicked wampmanager.exe located in F:/wamp (new drive)
Server started, aestryan menu up, www Directory clicked it pulls correct folder F:wampwww
went in my browser to localhost


It shows installations from drive D: (old drive)! What am I missing?

Solution: You MUST reinstallit the wamp, I was hoping on simple move but looks like wamp services map the localhost to the drive you originally installed the wamp on.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:wampbinapacheapache2.4.9confhttpd.conf

Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230).

Change <Directory "c:/wamp/www"> to <Directory "c:/my/new/path"> (Note slash direction). This applies permissions from the old directory to the new one (~Line 252).

Update: Is the F drive a data drive, a system drive or a partition? If it is not a system drive it is pretty much impossible to install the server there, since there is no "exe" support milieu on a non-system, or data, drive. If it is a system drive/partition, then you may indeed need to install it on F drive and just move over your files.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme