PHP 7.2 not installing
pildit opened this issue · comments
Discussed in #400
i tried brew reinstall shivammathur/php/php@7.2 && brew link --overwrite --force php@7.2
This is the output
==> Reinstalling shivammathur/php/php@7.2
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.
==> Installing dependencies for shivammathur/php/php@7.2: bison and re2c
==> Installing shivammathur/php/php@7.2 dependency: bison
==> Pouring bison--3.8.2.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/bison/3.8.2: 99 files, 3.6MB
==> Installing shivammathur/php/php@7.2 dependency: re2c
==> Pouring re2c--2.2.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/re2c/2.2: 10 files, 1.5MB
==> Installing shivammathur/php/php@7.2
==> Patching
==> ./buildconf --force
==> ./configure --prefix=/usr/local/Cellar/php@7.2/7.2.34_4 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/7.2 --with-config-file-path=/usr/local/etc/php/7.2 --with-config
==> make
==> make install
Error: Formulae found in multiple taps:
* shivammathur/php/php@5.6
* exolnet/deprecated/php@5.6
Please update your Xcode
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Then as exolnet/deprecated
tap is no longer maintained, you can remove it to avoid the formulae found in multiple taps error.
HOMEBREW_DEVELOPER=1 brew untap exolnet/deprecated
Next, run brew update
and then try installing PHP 7.2 again.
Error: File exists @ dir_s_mkdir - /usr/local/Cellar/php@7.2/7.2.34_4/.brew
Remove all PHP 7.2 files and try again
sudo rm -rf /usr/local/Cellar/php@7.2
Thanks man. Great help !