# apt-get install apache2 libapache2-mod-auth-cas libapache2-mod-evasive libapache2-mod-security2 # a2enmod auth_cas # a2enmod evasive # a2enmod headers # a2enmod proxy # a2enmod proxy_fcgi # a2enmod rewrite # a2enmod security2 # a2enmod socache_shmcb # a2enmod ssl # a2enmod unique_id # a2enmod xml2enc # apt-get install mysql-server mysql-client # apt update # apt install software-properties-common # add-apt-repository ppa:ondrej/php # php8.2 # php8.2-cli # php8.2-common # php8.2-curl # php8.2-fpm # php8.2-gd # php8.2-imagick # php8.2-intl # php8.2-ldap # php8.2-mbstring # php8.2-mysql # php8.2-opcache # php8.2-readline # php8.2-tidy # php8.2-xml # php8.2-zip # update-alternatives --set php /usr/bin/php8.2 # update-alternatives --set phar /usr/bin/phar8.2 # update-alternatives --set phar.phar /usr/bin/phar.phar8.2 # systemctl enable apache2 # systemctl enable mysql # systemctl enable php8.2-fpm