pkg upgrade
it will get upgraded pretty much automatically. You'll only need to install www/mod_php74 yourself (if you use mod_php).20200914:
AFFECTS: users of lang/php72
AUTHOR: tz@FreeBSD.org
The default version of PHP has been switched from 7.2 to 7.4.
If you use binary packages you should make a list of php packages
before running 'pkg upgrade':
# pkg info php7\* > ~/installed-php-ports-list
After the upgrade, check with such list if all your php extensions
are still installed, and reinstall them if needed.
If you use mod_php72 you need to deinstall it and install mod_php74.