2月 25, 2025 -
php开发
多个php版本,指定版本执行命令已关闭评论


多个php版本,指定版本执行命令
多环境下的composer install报错:
默认php是8.0版本,但项目需要php7.4去执行,先找到php7.4的安装目录。可以使用一下:
/www/server/php/74/bin/php /usr/bin/composer install
同样,执行artisan 命令,也可以[……]
多环境下的composer install报错:
默认php是8.0版本,但项目需要php7.4去执行,先找到php7.4的安装目录。可以使用一下:
/www/server/php/74/bin/php /usr/bin/composer install
同样,执行artisan 命令,也可以[……]