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"
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.
I resolved this issue by
CMDER_ROOT
environment variable with my cmder root folder pathD:\laragon\bin\cmder
Shell Path
value in PHP Storm tocmd /k "%CMDER_ROOT%\vendor\init.bat"
NOTE: my laragon root path is
D:\laragon\