From 698c812d13938a3a596c8ebc638c4224c68efcfb Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Thu, 9 Sep 2021 22:43:07 +0800
Subject: [PATCH] Mention php-fpm fix.
---
en_US/howto/upgrade.debian.10-11.md | 11 +++++++++++
html/upgrade.debian.10-11.html | 9 +++++++++
2 files changed, 20 insertions(+)
diff --git a/en_US/howto/upgrade.debian.10-11.md b/en_US/howto/upgrade.debian.10-11.md
index 59877bfa..a754fe22 100644
--- a/en_US/howto/upgrade.debian.10-11.md
+++ b/en_US/howto/upgrade.debian.10-11.md
@@ -25,3 +25,14 @@ Services must be restarted:
service iredapd restart
service iredadmin restart
```
+
+## php-fpm
+
+Debian 11 ships php 7.4, but Debian 10 ships php 7.3. Although php7.4-fpm
+service is started by default after OS upgrade, but you still need to copy
+old php-fpm config file and restart php7.4-fpm service:
+
+```
+cp /etc/php/7.3/fpm/pool.d/www.conf /etc/php/7.4/fpm/pool.d/www.conf
+service php7.4-fpm restart
+```
diff --git a/html/upgrade.debian.10-11.html b/html/upgrade.debian.10-11.html
index 0c48e360..d630ad4b 100644
--- a/html/upgrade.debian.10-11.html
+++ b/html/upgrade.debian.10-11.html
@@ -21,6 +21,7 @@
Fixes you need after upgrading Debian from 10 to 11
@@ -40,6 +41,14 @@ SOGo at all.
Services must be restarted:
service iredapd restart
service iredadmin restart
+
+
+php-fpm
+Debian 11 ships php 7.4, but Debian 10 ships php 7.3. Although php7.4-fpm
+service is started by default after OS upgrade, but you still need to copy
+old php-fpm config file and restart php7.4-fpm service:
+cp /etc/php/7.3/fpm/pool.d/www.conf /etc/php/7.4/fpm/pool.d/www.conf
+service php7.4-fpm restart