Blogger Information
Blog 8
fans 1
comment 0
visits 11133
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
lnmp安装xdebug
秋美
Original
1104 people have browsed it

wget http://xdebug.org/files/xdebug-2.7.2.tgz

tar zxvf xdebug-2.7.2.tgz

cd xdebug-2.7.2

/usr/local/php/bin/phpize

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

make

make install

安装完成会出现

微信截图_20190713101148.png

打开php.ini  (vi /usr/local/php/etc/php.ini)

在文件末尾末尾添加

zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so"

重启

lnmp php-fpm restart / lnmp restart

php -v

微信截图_20190713101750.png

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post