mkjail create -v 13.1-RELEASE -j site -f default
Quite a few apps still rely on php74, one egregious example being owncloud.
Maybe switch to Nextcloud? That's where all the original owncloud devs are and where you will get everything (and more) that owncloud charges money for...
pkg install openssl111
fetch https://www.php.net/distributions/php-7.4.33.tar.gz
tar -xvf php-7.4.33.tar.gz
cd php-7.4.33
./configure --prefix=/tmp/makeinstall --with-apxs2=/usr/local/sbin/apxs --with-libdir=lib64 --with-openssl --with-curl --with-mysqli --
with-pdo-mysql --enable-gd --with-curl --enable-mbstring
gmake
gmake install clean
#LoadModule php_module libexec/apache24/libphp.so
LoadModule php7_module libexec/apache24/libphp7.so