After a lot of headache and struggle, I went back to what I trust. Sure a few things like enabling and disabling Xdebug is a tad bit more work.
for examples: We are going to install all needed PHP versions, in this case, 7.1 7.2, 7.3 and optionally if you want the new php@7.4.
Change the following files: /usr/local/etc/php/"PHP_VERSION"/php-fpm.d/www.conf for fastCGI proxy we setup different ports for each PHP version for PHP@7.1 for example we use: for 7.2 we use also, do this for 7.3 and 7.4 if needed.
Go to your nginx configuration file /usr/local/etc/nginx/nginx.conf and set the following configuration: In this case, we use server 127.0.0.1:9071; so this means we are using PHP 7.1.