apache install php mac code example Example: php apache install macbook mkdir /var/mysql ln -s /tmp/mysql.sock /var/mysql/mysql.sock