The latest version of PHP 8.1 is 8.1.17 right now, but for development reasons I need an older version. Specifically 8.1.6 to support development on our Ubuntu running servers, as well as to prevent some bugs occurring that have been introduced in the newer php versions.
How can I do this when brew installs the latest version by default? I also tried the shivammathur/php tap but it also just installs the latest version.