diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-02-17 16:35:29 -0600 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-02-17 16:35:29 -0600 |
commit | 05f1b494b23906b0693af71f7b1a0b13b0df104b (patch) | |
tree | 2aba32eb662b94279b73a863950052b22284e419 /UPDATING | |
parent | 774b522ad0e07c732d70e31fedfafdda72f0393e (diff) | |
download | freebsd-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-- | UPDATING | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |