aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-02-17 22:35:29 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-02-17 22:35:29 +0000
commit05f1b494b23906b0693af71f7b1a0b13b0df104b (patch)
tree2aba32eb662b94279b73a863950052b22284e419 /UPDATING
parent774b522ad0e07c732d70e31fedfafdda72f0393e (diff)
downloadports-05f1b494b23906b0693af71f7b1a0b13b0df104b.tar.gz
ports-05f1b494b23906b0693af71f7b1a0b13b0df104b.zip
lang/php8[01]: Update UPDATING
There are some cases at least when using ports/portmaster php8[01] reinstalltion do not properly overwrite php.conf file omitting openssl as a default module. Additionally if we are using pkg then php8[01]-openssl needs to be manually removed otherwise both the old module and builtin module tried to be loaded while restarting php-fpm service. This note defines these cases in UPDATING. Reported by: dim Sponsored by: Bounce Experts
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING17
1 files changed, 17 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index 3b39b777636c..6537ee19d194 100644
--- a/UPDATING
+++ b/UPDATING
@@ -17,6 +17,23 @@ you update your ports collection, before attempting any port upgrades.
USE_PHP=openssl. In case for php74 as the default php74-openssl will
be installed otherwise it will be used from php installation.
+ If you are using pkg, you have to remove php8[01]-openssl manually after
+ the upgrade :
+
+ # pkg info \*php8\* > ~/installed-php-ports-list
+
+ # pkg upgrade -y
+ # pkg delete -f php8[01]-openssl
+ # service -R
+
+ While rebuilding from ports users old php.conf is not overwritten. So
+ have to manually remove the ports. For portmaster users:
+ # sh
+ # REINSTALL="$(pkg info -o "*php80*" | grep -v openssl | awk '{printf "%s ", $2}')"
+ # pkg delete -f "*php80*"
+ # portmaster $REINSTALL
+ # portmaster -a
+
20220207:
AFFECTS: users of security/amavisd-new
AUTHOR: flo@FreeBSD.org