If you experience any compatibility issues with PHP for Mac, consider downloading one of the older versions of PHP. MacUpdate stores previous versions of PHP for you since v. 7.4.16.