I need a specific version of PHP for magento (7.1.3)
With home brew or curl, I can only specify one decimal (7.1, 7.2 etc).
Running
brew install php@7.1
ultimately gets me
php -v
PHP 7.1.29 (cli) (built: May 21 2019 20:05:17) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.29, Copyright (c) 1999-2018, by Zend
Technologies
trying to install a specific version (like you can with node using nvm):
brew install php@7.1.3
gets me
Error: No available formula with the name "php@7.1.3"
I tried using a curl command, same issue:
https://php-osx.liip.ch/install.sh | bash -s 7.1.3
gets me
Did or could not download package: 7.1.3-frontenddev
TL;DR: How do i install exact version of PHP (7.1.3) on mac?