linux – PHP Apache mod ports installation issue on FreeBSD

I was trying to upgrade to PHP7.4 with Apache and new versions of MySQL due to some compatibility issues with our old MySQL.

On the first install, everything looked fine. make install clean gave me nice and clean results and I was able to confirm the install was working with some phpinfo and echo.

Then I realized I forgot to compile with AP2FILTER, I checked the option in make config and did make install, this happened:

Build complete.
Don't forget to run 'make test'.

===>  Staging for mod_php74-7.4.11
===>   mod_php74-7.4.11 depends on file: /usr/local/sbin/apxs - found
===>   Generating temporary packing list
/bin/mkdir -p /usr/ports/www/mod_php74/work/stage/usr/local/libexec/apache24
install  -s -m 0644 /usr/ports/www/mod_php74/work/php-7.4.11/libs/  /usr/ports/www/mod_php74/work/stage/usr/local/libexec/apache24
install: /usr/ports/www/mod_php74/work/php-7.4.11/libs/ No such file or directory
*** Error code 71

make[1]: stopped in /usr/ports/www/mod_php74
*** Error code 1

I have no idea why this happened, I was running as root with ports directories set at 755 or 644.
Here’s uname -a:
FreeBSD 11.3-RELEASE-p2 FreeBSD 11.3-RELEASE-p2 #0: Tue Aug 6 05:07:20 UTC 2019 amd64

portsnap fetch was done few days ago

Help would be appreciated.