美文网首页
Ubuntu Linux 上给PHP安装Xdebug调试 笔记

Ubuntu Linux 上给PHP安装Xdebug调试 笔记

作者: 陈大芮 | 来源:发表于2019-06-21 10:22 被阅读0次

安装Xdebug

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

tar zxvf xdebug-2.2.7.tgz

cd xdebug-2.2.7

phpize

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

make

make install

在php.ini里面的配置:

extension=xdebug.so

xdebug.remote_enable=1

xdebug.remote_handler=dbgp

xdebug.remote_mode=req

xdebug.remote_host=192.168.10.49

xdebug.remote_port=9000

xdebug.idekey="PHPSTORM"

相关文章

网友评论

      本文标题:Ubuntu Linux 上给PHP安装Xdebug调试 笔记

      本文链接:https://www.haomeiwen.com/subject/opweqctx.html