macOS auf ARM/M1/M2
sudo arch -x86_64 /usr/local/bin/brew services stop httpd
/usr/local/var/run/httpd/httpd.pid
und /opt/homebrew/var/run/httpd/httpd.pid
sudo rm /usr/local/var/run/httpd/httpd.pid sudo rm /opt/homebrew/var/run/httpd/httpd.pid
sudo arch -x86_64 /usr/local/bin/brew services start httpd
sudo arch -x86_64 /usr/local/bin/brew services stop httpd arch -x86_64 /usr/local/bin/brew upgrade arch -x86_64 /usr/local/bin/brew cleanup sudo arch -x86_64 /usr/local/bin/brew services restart httpd
macOS auf Intel
sudo brew services stop httpd
/usr/local/var/run/httpd/httpd.pid
sudo rm /usr/local/var/run/httpd/httpd.pid
sudo brew services start httpd
sudo brew services stop httpd brew upgrade brew cleanup sudo brew services restart httpd
sudo brew services stop httpd
httpd
brew remove httpd # Je nach PHP Version, das @... bitte anpassen: brew remove php@7.4 # Bei Fehlern zu _apr_crypto_block_cleanup brew reinstall apr-util brew doctor brew upgrade brew install httpd brew install php@7.4
brew doctor
mittels: sudo rm -rf /Library/Developer/CommandLineTools