revue des instructions d'installation pour ne pas installer Apache par défaut

This commit is contained in:
Gregory Colpart 2024-02-07 20:33:42 +01:00
parent ffd8c3f3b5
commit 05a7326707

View file

@ -32,7 +32,7 @@ ainsi que les outils [Composer](https://getcomposer.org/) et
[PHPMailer](https://github.com/PHPMailer/PHPMailer) : [PHPMailer](https://github.com/PHPMailer/PHPMailer) :
~~~ ~~~
# apt install php php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-ssh2 php-xml composer libphp-phpmailer # apt install php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-ssh2 php-xml composer libphp-phpmailer
$ php -v $ php -v
PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS ) PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS )
@ -93,7 +93,7 @@ deb https://packages.sury.org/php/ bullseye main
Et vous installerez PHP normalement (à part les paquets php-igbinary et php-redis que vous devrez forcer en version 8.0) : Et vous installerez PHP normalement (à part les paquets php-igbinary et php-redis que vous devrez forcer en version 8.0) :
~~~ ~~~
# apt install php php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-xml composer libphp-phpmailer php-ssh2 # apt install php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-xml composer libphp-phpmailer php-ssh2
~~~ ~~~
Pour PHP 8.1, mettez dans vos sources : Pour PHP 8.1, mettez dans vos sources :
@ -106,7 +106,7 @@ deb https://packages.sury.org/php/ bullseye main
Puis installez PHP normalement : Puis installez PHP normalement :
~~~ ~~~
# apt install php php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-xml composer libphp-phpmailer php-ssh2 # apt install php-cli php-curl php-mysql php-pgsql php-ldap php-imap php-gd php-xml composer libphp-phpmailer php-ssh2
~~~ ~~~
**Nettoyage :** **Nettoyage :**
@ -139,7 +139,7 @@ PHP-FPM (FastCGI Process Manager) est une façon alternative d'utiliser
PHP avec [Apache](HowtoApache) ou [Nginx](HowtoNginx). PHP avec [Apache](HowtoApache) ou [Nginx](HowtoNginx).
~~~ ~~~
# apt install php-fpm # apt install php php-fpm
# systemctl status php7.3-fpm # systemctl status php7.3-fpm
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager ● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
@ -166,7 +166,7 @@ PHP avec [Apache](HowtoApache) ou [Nginx](HowtoNginx).
### mod_php ### mod_php
~~~ ~~~
# apt install libapache2-mod-php # apt install php libapache2-mod-php
~~~ ~~~
> *Note* : Pour Debian 8, il faut installer ainsi : > *Note* : Pour Debian 8, il faut installer ainsi :