Installieren Sie Apache auf dem Mac
# update Homebrew
brew update
#install apache using Homebrew
brew install httpd
Happy Hamerkop
# update Homebrew
brew update
#install apache using Homebrew
brew install httpd
mkdir /var/mysql
ln -s /tmp/mysql.sock /var/mysql/mysql.sock
echo '<?php phpinfo();' > /Library/WebServer/Documents/phpinfo.php
apachectl restart
grep DocumentRoot httpd.conf
vi httpd.conf