Skip to content

Instantly share code, notes, and snippets.

@dwolfhub
Last active May 16, 2017 15:06
Show Gist options
  • Save dwolfhub/7f11196d19aa8319d282bd6d48635631 to your computer and use it in GitHub Desktop.
Save dwolfhub/7f11196d19aa8319d282bd6d48635631 to your computer and use it in GitHub Desktop.
Install the latest xdebug for php 7.1 in ubuntu 16 vagrant box with configuration for phpstorm debugging
#!/usr/bin/env bash
cd ~
git clone git://github.com/xdebug/xdebug.git
cd xdebug
phpize
./configure --enable-xdebug
make
sudo make install
## php.ini
#zend_extension="/lib/php/7.1/20160303/xdebug.so"
#xdebug.remote_host=x.x.x.x
#xdebug.remote_enable=1
#xdebug.remote_autostart=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment