For 14.5 systems I just downloaded ports used portmaster to upgrade to php
# jexec 15 php -v | grep built
PHP 8.3.36 (cli) (built: Oct 21 2026 19:53:52) (NTS)
# jexec 14 php -v | grep built
PHP 8.3.35 (cli) (built: Oct 15 2026 02:52:14) (NTS)
# jexec 15 csh
# pkg create -o /tmp php83-8.3.36 mod_php83-8.3.36
Creating package for php83-8.3.36
Creating package for mod_php83-8.3.36
# ls -l /tmp/*php*
-rw-r--r-- 1 root wheel 1780410 Oct 21 21:42 /tmp/mod_php83-8.3.36.pkg
-rw-r--r-- 1 root wheel 5410667 Oct 21 21:42 /tmp/php83-8.3.36.pkg
# exit
# cp /data/frog.example.com/tmp/*php* /data/pear.example.come/tmp/
# jexec 14 csh
# cd /tmp && pkg install php83-8.3.36.pkg mod_php83-8.3.36.pkg
# apachectl restart
# php --version