Hi,
Wampserver is not a basic portable application.
Running Wamp64 after copying to a USB K: does not require only one modification.
- Changing installDir in wampmanager.conf only affects internal Wampserver scripts.
It must also be replaced as supposed the original install is c:\wamp64
- Define INSTALL_DIR K:/wamp64 in K:\wamp64\bin\apache\apache2.4.29\conf\httpd.conf
- Replace all c:/wamp64 by k:/wamp64 in files :
-- K:\wamp64\bin\apache\apache2.4.29\conf\extra\httpd-vhosts.conf
-- All php.ini and phpForApache.ini files for all php versions
-- All my.ini files for all mysql and mariadb versions
-- in all wamp64/alias/xxxx.conf files
-- in wampmanager.ini file
AND, before lauching k:\wamp64\wampmanager.exe "as an administrator" we must delete old services with opening a command windows and type :
sc delete wampapache64
sc delete wampmysqld64
sc delete wampmariadb64
Now we can launch k:\wamp64\wampmanager.exe "as an administrator", the tray icon will be red.
We have to create new services by Left-Click and
- Apache -> Service -> Install service
- MySQL -> Service -> Install Service
- MariaDB -> Service -> Install Service
- Start all services
It works, I did it exactly like this, on a K:\wamp64 USB stick after copying my original j:\wamp64 folder.
Important : The USB stick must be NTFS formatted and always take the letter K: at each connection.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 01/02/2018 03:44PM by Otomatic.