Ubuntu24 安装不同版本 PHP 后 Composer 执行命令

将 composer.phar 下载到项目目录然后执行:

phpx.x ./composer.phar install