I've installed php56-xdebug (along with php56, naturally) using homebrew and I've made the requisite addition to my php.ini
zend_extension="/usr/local/Cellar/php56-xdebug/2.3.2/xdebug.so"
Today I did a brew update && upgrade
which updated my php56-xdebug
to version 2.3.3
This, of course, changed the directory listing of the xdebug.so file to /usr/local/Cellar/php56-xdebug/2.3.3/xdebug.so
I'd love to find a way to update that automatically whenever it changes after a brew update/upgrade. Alas, I'm not knowledgeable enough in bash to know how to make this happen. Any thoughts?
You could simply always use the symbolic links that Homebrew maintains for you inside
/usr/local/opt
: