feat(ansible/php): Met à jour l'installation et configuration pour PHP 8.4.
```
This commit is contained in:
Serreau Jovann
2026-01-27 08:49:32 +01:00
parent a067785bd7
commit 6466947c89
3 changed files with 21 additions and 19 deletions

View File

@@ -44,30 +44,30 @@
- name: Installation de PHP 8.3 et PHP 8.3-FPM avec les dépendances
ansible.builtin.apt:
name:
- php8.3
- php8.3-fpm
- php8.3-cli
- php8.3-common
- php8.3-mysql
- php8.3-pgsql
- php8.3-xml
- php8.3-mbstring
- php8.3-zip
- php8.3-intl
- php8.3-gd
- php8.3-curl
- php8.3-pdo
- php8.3-opcache
- php8.3-bcmath
- php8.3-redis
- php8.3-imagick
- php8.4
- php8.4-fpm
- php8.4-cli
- php8.4-common
- php8.4-mysql
- php8.4-pgsql
- php8.4-xml
- php8.4-mbstring
- php8.4-zip
- php8.4-intl
- php8.4-gd
- php8.4-curl
- php8.4-pdo
- php8.4-opcache
- php8.4-bcmath
- php8.4-redis
- php8.4-imagick
- ffmpeg
state: present
when: ansible_os_family == "Debian"
- name: Démarrage et activation du service PHP 8.3 FPM
ansible.builtin.systemd:
name: php8.3-fpm
name: php8.4-fpm
state: started
enabled: yes
when: ansible_os_family == "Debian"

View File

@@ -40,7 +40,7 @@ intranet.ludikevent.fr, signature.ludikevent.fr, reservation.ludikevent.fr {
}
# --- PHP FASTCGI ---
# Ici, Caddy transmet automatiquement tous les headers définis ci-dessus au socket PHP
php_fastcgi unix//run/php/php8.3-fpm.sock {
php_fastcgi unix//run/php/php8.4-fpm.sock {
read_timeout 300s
write_timeout 300s
dial_timeout 100s