As I said in my case all problems seem to come after upgrading to 10.9.2, these are steps I have done to solve my problems.
- Edit
DocumentRoot
toDocumentRoot "/Library/WebServer/Apache Home"
- Edit
<Directory>
to<Directory "/Library/WebServer/Apache Home">
- This step may not be necessary but just in case,
brew upgrade
- Chenge owner and group of /usr/local/var/mysql/ to *mysql using
sudo chown -R _mysql:_mysql /usr/local/var/mysql/
, otherwisemysql.server start
will fail