pkg info -x php pkg info -x php | sed s/74/82/g | sed s/-7.4.32//g | sed s/_1//g pkg info -x php | sed s/74/82/g | sed s/-7.4.32//g | sed s/_1//g | xargs -L1 -p pkg search pkg info -x php | sed s/74/82/g | sed s/-7.4.32//g | sed s/_1//g > php82.pkg pkg remove -x php74 cat php82.pkg | xargs -L1 -p pkg install -y cd /usr/local/etc diff <(grep -v -e "^;" -e "^$" php.ini-production ) <(grep -v -e "^;" -e "^$" php.ini) cd /usr/local/etc/php-fpm.d diff <(grep -v -e "^;" -e "^$" www.conf.default ) <(grep -v -e "^;" -e "^$" www.conf)
At the end, I have problems with three packages: php80-json, php80-openssl, and php80-xmlrpc. Freshports tells me that the JSON and OpenSSL modules were added into the default PHP 8.0 package, so I can cross those off my list.
upgrading PHP 7.4 to PHP 8 on FreeBSD – Michael W Lucas 2022