路由当前目录
vim 打开 .bash_profile
PATH=$PATH:/d/phpstudy_pro/Extensions/php/php7.4.3nts
PATH=$PATH:/d/phpstudy_pro/Extensions/php8/php8.2.9nts
PATH=$PATH:/d/phpstudy_pro/Extensions/composer2.5.8
PATH=$PATH:/d/phpstudy_pro/Extensions/MySQL8.0.12/bin
PATH=$PATH:/e/nvm/v12.18.1/node64.exe使其生效
source ~/.bash_profile
通过phpstudy配置多版本php,为了不影响原来的复制一份命名为php8,把里面的php.exe运行文件改为php8.exe