Guys, I need help, tell me what commands or how is it possible to permanently remove Apache 2.4 and PHP 7.1 from MAC OS High Sierra?

  • And how did you put them? - Axenow 1:49 pm
  • @Axenow via the terminal, by the package manager Brew (HomeBrew) - Pavel Igorevich
  • Well then, also through brew uninstall, etc. etc. Then delete the folders where your files were and that's it. - Axenow
  • @Axenow I’m writing about this and writing here because I don’t know the specific commands to remove - Pavel Igorevich 1:56 pm

1 answer 1

Like that:

  • Get the entire list of all installed packages via brew

    brew list 
  • Or if you know the name of the package, then:

     brew list mtr 
  • Remove package:

     brew uninstall mtr Uninstalling /usr/local/Cellar/mtr/0.92... (12 files, 181.9KB) 

For you, this should be the following commands:

 brew uninstall apache2 brew uninstall php@7.0 brew uninstall php@7.1