Navigate to PHPStorm's Settings > Tools > Terminal and set...
Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"
Navigate to PHPStorm's Settings > Tools > Terminal and set...
Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"
I resolved this issue by
CMDER_ROOT
environment variable with my cmder root folder path D:\laragon\bin\cmder
Shell Path
value in PHP Storm to cmd /k "%CMDER_ROOT%\vendor\init.bat"
NOTE: my laragon root path is D:\laragon\
The path has to be C:\laragon\bin\cmder\cmder.bat
-> PHPStorm's Settings > Tools > Terminal
It works perfectly and looks like it has some Linux commands (maybe all)
The path has to be
C:\laragon\bin\cmder\cmder.bat
-> PHPStorm's Settings > Tools > Terminal It works perfectly and looks like it has some Linux commands (maybe all)
@gajosadrian
Your technique also worked, but both mine and yours had the issue that when I change the PHP version from laragon and close and reopen the PHPStorm terminal, the php -v
Command does not reflect the change in the PHP version in CLI. Despite the fact that this strategy works with Laragon Terminal.
The path has to be
C:\laragon\bin\cmder\cmder.bat
-> PHPStorm's Settings > Tools > Terminal It works perfectly and looks like it has some Linux commands (maybe all)@gajosadrian Your technique also worked, but both mine and yours had the issue that when I change the PHP version from laragon and close and reopen the PHPStorm terminal, the
php -v
Command does not reflect the change in the PHP version in CLI. Despite the fact that this strategy works with Laragon Terminal.
any new on this php cli version issue ?
any new on this php cli version issue ?
@guillaumedufour unfortunately, I am not able to find any solution for this. I keep using the largon terminal.
Hi @landbryo
I tried but it is giving me following error
NOTE: my laragon root path is
D:\laragon\
so I have entered this"cmd" /k "D:\laragon\bin\cmder\vendor\init.bat"
as shell path.Any suggestion, please?