php8.1安装
apt install php8.1 php8.1-fpm php8.1-gd php8.1-mbstring php8.1-pdo php8.1-curl php8.1-swoole
配置路径
/etc/php/8.1/fpm/php.ini
/etc/php/8.1/fpm/pool.d/www.conf
php7.4安装
add-apt-repository
add-apt-repository ppa:ondrej/php
apt install php7.4 php7.4-fpm php7.4-gd php7.4-mbstring php7.4-pdo php7.4-curl
配置路径
/etc/php/7.4/fpm/php.ini
/etc/php/7.4/fpm/pool.d/www.conf
其他工具安装
apt install nmon glances sysstat iostat snap unzip
apt install mariadb-server nginx