Last active
April 26, 2018 09:21
-
-
Save notFloran/00d882e573fcc5de2661081aa59c6ffd to your computer and use it in GitHub Desktop.
Homebrew - remove PHP and its config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove all php and extensions, use "brew list | grep php" to get all packages | |
brew uninstall --force --ignore-dependencies php71-xdebug php71-amqp php71 .... | |
# remove all configs | |
rm -rf /usr/local/etc/php/7.1 | |
rm -rf /usr/local/opt/[email protected] | |
rm -rf /usr/local/share/pear | |
rm -rf /usr/local/lib/php/ | |
rm -rf /usr/local/Cellar/php@71 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment