简体   繁体   English

为什么xdebug没有出现在phpinfo()中

[英]Why is xdebug not showing up in phpinfo()

I am trying to get the following to setup work: 我想尝试以下设置工作:

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

When I run phpinfo() from Xampps homepage, XDebug it is not listed anywhere. 当我从Xampps主页运行phpinfo()时,XDebug没有在任何地方列出。 I checked the Apache error logs and there are no errors, so it seems to load the module without problem? 我检查了Apache错误日志并且没有错误,所以它似乎加载模块没有问题? I haven't used PHP in years so I have no clue why this isn't working. 多年来我没有使用PHP,所以我不知道为什么这不起作用。

[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

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. 将phpinfo的输出复制到此页面,它将告诉您需要哪个版本。

Print out your 打印出你的

phpinfo(); 的phpinfo();

and look at "Compilater" line 并看看“Compilater”系列

At home (win7x64 + wamp) => MSVC6 (Visual C++ 6.0) 在家里(win7x64 + wamp)=> MSVC6(Visual C ++ 6.0)

So you need the vc6 version not vc9 version 所以你需要vc6版本而不是vc9版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM