Skip to content

Instantly share code, notes, and snippets.

@TomK
Last active September 16, 2015 14:41
Show Gist options
  • Save TomK/735f88c120bebdf7cefa to your computer and use it in GitHub Desktop.
Save TomK/735f88c120bebdf7cefa to your computer and use it in GitHub Desktop.
Install xdebug from Derick Rethans' development fork
#!/bin/bash
# make sure you switch to php70
brew unlink php56 && brew link php70
# checkout and build
git clone [email protected]:derickr/xdebug php7-xdebug
cd php7-xdebug
phpize
./configure
make
make install
cd ..
rm -rf ./php7-xdebug
# add extension
echo "zend_extension=xdebug.so" > /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment