为什么 xdebug 没有出现在 phpinfo() 中 [英] Why is xdebug not showing up in phpinfo()

查看:58
本文介绍了为什么 xdebug 没有出现在 phpinfo() 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试进行以下设置:

I am trying to get the following to setup work:

  • Windows 7 - 64 位
  • XAMPP 1.7.4
  • XDebug [php_xdebug-2.1.0-5.3-vc9-x86_64.dll]

当我从 Xampps 主页运行 phpinfo() 时,XDebug 没有在任何地方列出.我检查了 Apache 错误日志,没有错误,所以加载模块似乎没有问题?我多年没有使用 PHP,所以我不知道为什么这不起作用.

When I run phpinfo() from Xampps homepage, XDebug it is not listed anywhere. I checked the Apache error logs and there are no errors, so it seems to load the module without problem? I haven't used PHP in years so I have no clue why this isn't working.

[PHP.ini]

[XDebug]
zend_extension_ts = "C:\xampp\php\ext\php_xdebug-2.1.0-5.3-vc9-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000

推荐答案

我认为您没有正确的编译器版本.将 phpinfo 的输出复制到 this 页面,它会告诉您需要哪个版本.

I think you don't have the right compiler version. Copy the output of your phpinfo onto this page and it will tell you which version you need.

这篇关于为什么 xdebug 没有出现在 phpinfo() 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆