Error when installing Apache 2.4, PHP 5.5 and MySQL via Homebrew
Yosemite ships with apache 2.4.9, php 5.5.14 already installed, tuned up and ready to roll.

MySQL is readily available from their website in either tar or pkg format. It is a drop-in installation, php already knows about it. There is occasionally a socket issue, easily fixed by editing the php.ini file or just making a symlink.