title: 'Brew install php' leads to error 'Error: No such file or directory'
body: <p>Hi recently I upgraded my mac and this has caused some serious issues with my php installation. I previously installed this using homebrew so I tried reinstalling php by uninstalling it and then running <code>brew install php</code>. However now I'm getting this error: <code>Error: No such file or directory - /usr/local/var/homebrew/linked/php</code>. I've tried searching for this error everywhere but couldn't find a similar case. Can anybody explain this error and maybe point in a direction on how to fix this? Thanks.</p>