In PHPStorm, go to: SETTINGS -> TOOLS -> TERMINAL
In environment variables configuration
MSYSTEM=MINGW64;CHERE_INVOKING=1;MSYS2_PATH_TYPE=inherit;
In shell path configuration
C:\msys64\usr\bin\bash.exe --login -i
Install phpbrew && php 7.4.0 on macOS
xcode-select --install
# You should install brew https://brew.sh/index_fr
brew install automake autoconf curl pcre bison re2c mhash libtool icu4c gettext jpeg openssl libxml2 mcrypt gd gmp libevent zlib libzip bzip2 imagemagick pkg-config oniguruma
brew link --force icu4c
brew link --force openssl
brew link --force libxml2
Install brew nginx with phpbrew php-fpm 7.3.10 on macOS (this installation allows to run nginx and php-fpm (from phpbrew) as root but chrooted with the current user - take care if there is multiple developper account on mac, that will potentially make trouble between accounts).
Install phpbrew && php 7.3.10 on macOS
xcode-select --install
# You should install brew https://brew.sh/index_fr
brew install automake autoconf curl pcre bison re2c mhash libtool icu4c gettext jpeg openssl libxml2 mcrypt gd gmp libevent zlib libzip bzip2 imagemagick pkg-config
brew link icu4c
brew link --force openssl
brew link --force libxml2
Install phpbrew && php 7.2.23 on macOS
xcode-select --install
# You should install brew https://brew.sh/index_fr
brew install automake autoconf curl pcre bison re2c mhash libtool icu4c gettext jpeg openssl libxml2 mcrypt gmp libevent zlib libzip bzip2 imagemagick pkg-config
brew link icu4c
brew link --force openssl
brew link --force libxml2
Install phpbrew && php 7.1.32 on macOS
xcode-select --install
# You should install brew https://brew.sh/index_fr
brew install automake autoconf curl pcre bison re2c mhash libtool icu4c gettext jpeg openssl libxml2 mcrypt gmp libevent zlib libzip bzip2 imagemagick pkg-config
brew link icu4c
brew link --force openssl
brew link --force libxml2
NewerOlder