Hi,
> The default path may be hard-coded somewhere.
No.
The installation path is only known by the uninstall registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{wampserver32}_is1]
or
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{wampserver64}_is1]
It is through these keys that installers of updates or addons know the installation path.
And he knew from Wampmanager by the item
installDir ="E:/wamp64"
from the wampmanager.conf file
Regarder les erreurs éventuelles dans le fichier php_error.log
With Wampserver 3.2.0, there is a possibility to trace what happens during an operation such as switching versions of PHP, it's pretty basic, but we can see which files have been re-recorded.
For the explanations, I'm going to start from one of my E:/wamp64" installations, you'll have to modify the paths according to your own installation.
- Launch Wampserver
- Green icon and everything works fine, e.g. with PHP (web) 7.1.33
- Do not quit Wampserver
- Edit the file E:\wamp64\scripts\config.trace.php
- Replace : define('WAMPTRACE_PROCESS',FALSE);
by define('WAMPTRACE_PROCESS',TRUE);
- Save the modified file
- Switch PHP version
Left-Click -> PHP -> Version -> 7.2.25
- When the process of changing the PHP version is finished, without doing anything else, we will stop the trace
- Edit the file E:\wamp64\scripts\config.trace.php
- Replace : define('WAMPTRACE_PROCESS',TRUE);
by define('WAMPTRACE_PROCESS',FALSE);
- Save the modified file
Then we'll go see what the trace says:
Open the file E:\wamp64\logs\wamptrace.log and copy its contents here.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons