dpdyh86002 2015-09-17 07:06
浏览 105

XAMPP netbeans xdebug不起作用

I've been using xampp on windows and netbeans for a while now and finally want to get the xdebug debugger working. For some reason it doesn't work.

My phpinfo() file doesn't show any xdebug information, even though I tried to tweak and change the php.ini file as Google suggested.

Here are the relevant parts of my php.ini file:

zend_extension = \xampp\php\ext\php_xdebug-2.3.3-5.6-vc11.dll
xdebug.remote_enable=on
xdebug.remote:autostart = on
xdebug.remote_host=localhost
xdebug.remote_port=9000
; Port number must match debugger port number in NetBeans IDE Tools > Options > PHP
xdebug.remote_handler=dbgp

The remote_ports of the php.ini file and the netbeans debugger settings match. I also made sure to edit the right php.ini file.

However: Even though my XAMPP works fine since I changed the ports to 8081 and 444, every time I start it, I get the following errors: http://i.stack.imgur.com/o1ZsT.png

Also note that I use Windows 10 64bit rather than Windows 8 as it states.

My errorlog is a mess:

[Thu Sep 17 08:50:14.069550 2015] [ssl:warn] [pid 5768:tid 500] AH01909: www.example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Sep 17 08:50:14.159597 2015] [core:warn] [pid 5768:tid 500] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Failed loading C:\xampp\php\ext\\xampp\php\ext\php_xdebug-2.3.3-5.6-vc11.dll
example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Sep 17 08:50:14.404611 2015] [mpm_winnt:notice] [pid 5768:tid 500] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.12 configured -- resuming normal operations
[Thu Sep 17 08:50:14.404611 2015] [mpm_winnt:notice] [pid 5768:tid 500] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Thu Sep 17 08:50:14.404611 2015] [core:notice] [pid 5768:tid 500] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 17 08:50:14.410612 2015] [mpm_winnt:notice] [pid 5768:tid 500] AH00418: Parent: Created child process 7852
[Thu Sep 17 08:50:15.318272 2015] [ssl:warn] [pid 7852:tid 512] AH01909: www.example.com:444:0 server certificate does NOT include an ID which matches the server name
Failed loading C:\xampp\php\ext\\xampp\php\ext\php_xdebug-2.3.3-5.6-vc11.dll
example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Sep 17 08:50:15.609979 2015] [mpm_winnt:notice] [pid 7852:tid 512] AH00354: Child: Starting 150 worker threads.  

I also tried changing the line:

zend_extension = \xampp\php\ext\php_xdebug-2.3.3-5.6-vc11.dll

to

zend_extension = php_xdebug-2.3.3-5.6-vc11.dll

The

 Failed loading C:\xampp\php\ext\\xampp\php\ext\php_xdebug-2.3.3-5.6-vc11.dll 

line in the error.log disappears.

But it still doesn't work.

I'm desperate, any help is appreciated!

Cheers

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
    • ¥15 解riccati方程组
    • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
    • ¥30 用arduino开发esp32控制ps2手柄一直报错
    • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
    • ¥15 求chat4.0解答一道线性规划题,用lingo编程运行,第一问要求写出数学模型和lingo语言编程模型,第二问第三问解答就行,我的ddl要到了谁来求了
    • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
    • ¥50 树莓派安卓APK系统签名
    • ¥65 汇编语言除法溢出问题
    • ¥15 Visual Studio问题