如何使用 netbeans 和 Xdebug 调试 PHP

2023-04-09php开发问题
0

本文介绍了如何使用 netbeans 和 Xdebug 调试 PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我最近尝试使用 杂志评论后高度评价S.T.T..http://www.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/

我从 Notepad++ 切换的主要原因是我希望能够调试我的代码并通过它进行设置.

My main reason for switching from Notepad++ is that I'd like to be able to debug my code and set through it.

我已按照供应商 http://xdebug.org/ 和有关如何安装 xdebug 的说明进行操作netbeans 网站.http://www.netbeans.org/kb/docs/php/debugging.html#gettingReady 但无济于事.

I have followed the instructions about how to install xdebug from both the vendor http://xdebug.org/ and the netbeans web site. http://www.netbeans.org/kb/docs/php/debugging.html#gettingReady but to no avail.

它是怎么做的,有没有其他人在 netbeans 中调试过?

(我的设置是:Windows XP、Wamp server 2.0、PHP 5、Netbeans 6.5.1)

推荐答案

此后我发现 WAMP 与 Mod_rewrite 和 cURL 一起安装时无法应对 Xdebug.

I have since found that WAMP, when installed with Mod_rewrite and cURL cannot cope with Xdebug.

这是一个已知错误并且每次都会崩溃.

It is a known error and crashes everytime.

http://phphints.wordpress.com/2008/10/24/wampserver-phpini-settings-for-use-with-xdebugdll-pear-and-silverstripe-cms-framework/

不幸的是,我也在使用这两个库.

Unfortunately, I am using these 2 libraries too.

这篇关于如何使用 netbeans 和 Xdebug 调试 PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

PHP实现DeepL翻译API调用
DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以...
2025-08-20 php开发问题
168

PHP通过phpspreadsheet导入Excel日期数据处理方法
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的...
2024-10-23 php开发问题
287

mediatemple - 无法使用 codeigniter 发送电子邮件
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)...
2024-08-23 php开发问题
11

Laravel Gmail 配置错误
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)...
2024-08-23 php开发问题
16

将 PHPMailer 用于 SMTP 的问题
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)...
2024-08-23 php开发问题
4

关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)...
2024-08-23 php开发问题
17