Inside bin/laragon there's the laragon.cmd file that sets the current Windows PATH variables for laragon, as shown below:
@SET "LARAGON_ROOT=C:\Laragon" && SET "DOCUMENT_ROOT=C:/Laragon/www" && SET "OPENSSL_CONF=C:\Laragon\bin\apache\httpd-2.4.38-win64-VC11\conf\openssl.cnf" && SET "PATH=C:\Users\jose.borges\AppData\Local\Yarn\config\global\node_modules.bin;C:\Users\jose.borges\AppData\Roaming\npm;C:\Users\jose.borges\AppData\Roaming\Composer\vendor\bin;;C:\Laragon\bin\dbeaver;C:\Laragon\bin\laragon\utils;C:\Laragon\bin\mysql\mysql-8.0.30-winx64\bin;C:\Laragon\bin\php\php-8.0.23-Win32-vs16-x64;C:\Laragon\bin\composer;C:\Laragon\bin\apache\httpd-2.4.38-win64-VC11\bin;C:\Laragon\bin\redis\redis-x64-220.127.116.11;C:\Laragon\bin\nodejs\node-v18;C:\Laragon\bin\python\python-3.10;C:\Laragon\bin\python\python-3.10\Scripts;C:\Laragon\bin\nginx\nginx-1.22.0;C:\Laragon\bin\notepad++;C:\Laragon\bin\telnet;C:\Laragon\bin\ngrok;C:\Laragon\bin\git\bin;C:\Laragon\bin\git\cmd;C:\Laragon\bin\git\usr\bin;C:\Laragon\bin\git\mingw64\bin;C:\Laragon\bin;C:\Laragon\usr\bin;%PATH%;"
However recently, when i change APACHE/MYSQL/PHP versions, this file is not UPDATED to fix the PATH changes...And the WEBPAGES also don't detect this change.
Above I have PHP 8-0-23 set, but if I change in Laragon to PHP-8.1.10 it doesn't update this file, hence the "CMDER" command line does not detect this change (even closing and opening it again).
Can this be fixed, I'm under the impression that it used to do this previouslly.
I'm aware that any change to PATH needs to have cmder closed and opened again, but I change a lot of time the APACHE/PHP/MYSQL running versions depending on the project I'm developing. (I know i can have a different folder for each combination, but I just want to change versions on the fly, and when opening CMDER or the project, it shows the correct PHP version.
Is this only happening to me?