PHP74 has been excluded from this port by an automated script: https://svnweb.freebsd.org/ports?view=revision&revision=512557 However it works perfectly fine with 7.4.
*** This bug has been marked as a duplicate of bug 248897 ***