« Debian 11 » : différence entre les versions
(Page créée avec « =Debian 11= Cette dernière version de Debian doit cependant être complétée pour être exploitable avec certaines applications == Composants indispensables == En mode root apt install ca-certificates apt-transport-https software-properties-common wget curl lsb-release == PHP 8.1 == curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x apt-get update apt-get install php8.1 ») |
m (→PHP 8.1) |
||
Ligne 7 : | Ligne 7 : | ||
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x | curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x | ||
apt-get update | apt-get update | ||
apt-get install php8.1 | apt-get install php8.1 libapache2-mod-php8.1 | ||
Quelques extensions souvent indispensables : | |||
apt install php8.1-common php8.1-curl php8.1-bcmath php8.1-intl php8.1-mbstring php8.1-xmlrpc php8.1-mcrypt php8.1-mysql php8.1-gd php8.1-xml php8.1-cli php8.1-zip | |||
Pour optimiser Apache2 | |||
apt install php8.1-fpm libapache2-mod-fcgid | |||
a2enmod proxy_fcgi setenvif | |||
a2enconf php8.1-fpm | |||
systemctl restart apache2 | |||
systemctl status php8.1-fpm | |||
== MariaDB == | |||
* https://mariadb.com/kb/en/installing-mariadb-deb-files/ | |||
=== Sécurisation === | |||
mysql_secure_installation |
Version du 14 janvier 2023 à 14:03
Debian 11
Cette dernière version de Debian doit cependant être complétée pour être exploitable avec certaines applications
Composants indispensables
En mode root
apt install ca-certificates apt-transport-https software-properties-common wget curl lsb-release
PHP 8.1
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x apt-get update apt-get install php8.1 libapache2-mod-php8.1
Quelques extensions souvent indispensables :
apt install php8.1-common php8.1-curl php8.1-bcmath php8.1-intl php8.1-mbstring php8.1-xmlrpc php8.1-mcrypt php8.1-mysql php8.1-gd php8.1-xml php8.1-cli php8.1-zip
Pour optimiser Apache2
apt install php8.1-fpm libapache2-mod-fcgid a2enmod proxy_fcgi setenvif a2enconf php8.1-fpm systemctl restart apache2 systemctl status php8.1-fpm
MariaDB
Sécurisation
mysql_secure_installation