Hi,
> It's really imposibble to change all paths ?
No, it is possible, but it is a big work.
You have to change the path into
wamp\wampmanager.conf
- all alias files
wamp\alias\*.conf
- all Apache configuration files
wamp\bin\apache\apache2.4.x\conf\httpd.conf
- all Apache VirtualHost configuration files
all wamp\bin\apache\apache2.4.x\conf\extra\httpd-vhosts.conf
- all MySQL configuration files
all wamp\bin\mysql\mysql5.x.y\my.ini
- all PHP configuration file
wamp\bin\php\php5.x.y\php.ini
wamp\bin\php\php5.x.y\phpForApache.ini
wamp\bin\php\php7.x.y\php.ini
wamp\bin\php\php7.x.y\phpForApache.ini
- Rebuild all symbolic links in apache/bin/ directories
And, given the large number of symbolic links, it is impossible to do, especially need to recreate them by making them point to the files in the current version PHP. And this current version of PHP, it is not in the new path.
So it is best to remove all symbolic links.
- Suppress the two old services (Command Windows as administrator)
sc delete wampapache (or wampapache64)
sc delete wampmysqld (or wampmysqld64)
- The last thing is for
wamp\wampmanager.ini
Again, as wampmanager is the configuration file and it is read at the launch of Wampserver, you can not change all paths.
Must be replaced wampmanager.ini by an installation file:
[Config]
;WAMPCONFIGSTART
ImageList=images_off.bmp
ServiceCheckInterval=1
ServiceGlyphRunning=13
ServiceGlyphPaused=14
ServiceGlyphStopped=15
TrayIconAllRunning=16
TrayIconSomeRunning=17
TrayIconNoneRunning=18
ID={wampserver}
AboutHeader=WAMPSERVER
AboutVersion=Version 3.0.0
;WAMPCONFIGEND
[AboutText]
WampServer
Created by Romain Bourdon
wampmanager.ini minimum file to recreate
the original file if is corrupted
[Services]
Name: APACHESERVICE
Name: MYSQLSERVICE
[Messages]
AllRunningHint=WAMPSERVER - All services running - server Offline
SomeRunningHint=WAMPSERVER - %n of %t services running - server Offline
NoneRunningHint=WAMPSERVER - None of %t services running - server Offline
[StartupAction]
Action: run; FileName: "WAMPROOT/bin/php/phpWAMPPHPVERSION/php-win.exe";Parameters: "refresh.php";WorkingDir: "WAMPROOT/scripts"; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
Action: service; Service: APACHESERVICE; ServiceAction: startresume; Flags: ignoreerrors
Action: service; Service: MYSQLSERVICE; ServiceAction: startresume; Flags: ignoreerrors
- Replace APACHESERVICE by the real name of the Apache service
- Replace MYSQLSERVICE by the real name of the MySQL service
- Replace WAMPROOT by the new install path
- Replace WAMPPHPVERSION by the PHP CLI version number
Got there, if everything was done correctly, without forgetting, perhaps Wampserver can be launched.
However, the icon will be red and it will create two services:
- Wampmanager icon -> Apache -> Service -> Install service
- Wampmanager icon -> MySQL -> Service -> Install service
- Wampmanager icon -> Start services
All this without any guarantee that it works.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons