`
- 浏览:
29926 次
- 性别:
- 来自:
杭州
-
Php remote debug with xdebug on Linux
1.compile & install xdebug
1).download & extract
http://xdebug.org/download.php
#wget http://xdebug.org/files/xdebug-2.1.1.tgz
#tar xzvf xdebug-2.1.1.tgz
2).compiling
#cd xdebug-2.1.1
#/usr/local/php/bin/phpize
find your phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config
find your php-config
#make
#make install
.
.
.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
system will tell you where is the so file was installed.
3).config
#vi /usr/local/php/etc/php.ini
find your php.ini, then add conf as below
zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so"
xdebug.profiler_enable=Off
xdebug.default_enable=On
xdebug.remote_enable=1
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
xdebug.remote_host=115.206.222.189
remote_host means your debugging client address, and the XDEBUG side is SERVER.
write a phpinfo.php file to test whether the XDEBUG was installed.
2.iptables
#vi /etc/sysconfig/iptables
add config as below
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9001 -j ACCEPT
#/sbin/service iptables restart
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
xdebug-3.1.0 用来debug
zend_extension_ts="D:\php\ext\php_xdebug-2.0.3-5.2.5.dll" xdebug.auto_trace=Off xdebug.collect_params=On xdebug.collect_return=On xdebug.remote_enable=1 xdebug.remote_autostart=1 xdebug.remote_...
备注:压缩包中的PHP8.1.1默认已经集成了php_xdebug-3.2.1-8.1-vs16-nts-x86_64.dll文件并已重命名为php_xdebug.dll。 2.配置用户环境变量 将PHP8.1所在目录添加进用户变量:D:\phpstudy_pro\Extensions\...
php断点调试扩展,使用phpstorm进行PHP断点调试;...xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM
c9.ide.run.debug.xdebug 和其他DBGP调试器的核心插件。 安装xdebug供php使用 sudo apt-get update sudo apt-get install -y php5-dev sudo pecl install xdebug sudo mkdir -p /etc/php5/mods-available echo " ;...
This extension is very useful for PHP developers that are using PHP tools with Xdebug support like PHPStorm, Eclipse with PDT, Netbeans and MacGDBp or any other Xdebug compatible profiling tool like ...
XDebug For Php5.5 用来调试PHP的工具,和Eclipse配合使用
PHP的XDebug插件,版本为VC14版。支持32位与64位。用于支持PHP的debug功能。
用户php程序调试用,php_xdebug.dll
Xdebug是一个开放源代码的PHP程序调试器(即一个Debug工具),可以用来跟踪,调试和分析PHP程序的运行状况。Xdebug现在的最新版本是xdebug 2.0.0beta6,支持PHP4/PHP5。 官方站点:www.Xdebug.org 如何安装Xdebug? 以...
前段时间帮别人修改个项目,心血来潮搭建个phptorm2019.1.2+apache2.4+php7+xdebug2.9.1的开发环境。 php2019.1.2照常安装。 apache2.4+php7+xdebug2.9.1 已经配置好,只要修改相关目录即可。 其中的phptorm2019....
PHPSTORM XMAPP XDEBUG 整合PHP 调试开发
php xdebug 插件及全面安装教程 php xdebug 插件及全面安装教程 php xdebug 插件及全面安装教程
php7 的 xdebug 扩展
Xdebug是一款专门针对php语言的开源调试工具,我花了一天的时间收集整理了所有Xdebu and Xdebug对应的php版本,希望对大家有所帮助。
我是用wampServer2.2的环境的,环境本身自带了对应的xdebug,只需要修改php.ini的配置就可以了。但是php.ini文件要找对,我一开始就是找错了文件,所以配了好久都不生效。 wampServer使用的php配置文件一般都放在...
老弟最新调试成功的,php7.4+phpstorm2022+xdebug远程调试教程。 网络太多这种教程了,基本都过时了,有的不好用。按照下来,基本不通过,调试不了,经过老弟一条的摸索,各种百度,总结出了一份可行的xdebug远程...
php_xdebug-2.5.5-5.6-vc11-x86_64.dll php_xdebug-2.5.5-5.6-vc11-x86_64.dll php_xdebug-2.5.5-5.6-vc11-x86_64.dll