install xdebug php7 on ubuntu


sudo apt-get install php7.0-dev

wget http://xdebug.org/files/xdebug-2.4.0rc2.tgz

tar zxvf xdebug-2.4.0rc2.tgz

cd xdebug-2.4.0RC2/

phpize

./configure --enable-xdebug --with-php-config=/usr/bin/php-config

make

make test

make install

cd /etc/php/mods-available

sudo vi xdebug.ini
-----------------------------
; configuration for php xdebug module
; priority=10
zend_extension=xdebug.so
----------------------------


cd /etc/php/7.0/cli/conf.d

sudo ln -s /etc/php/mods-available/xdebug.ini 10-xdebug.ini

php -v

댓글

가장 많이 본 글