Why is xdebug not showing up in phpinfo()

耗尽温柔 提交于 2019-12-04 19:13:42

问题


I am trying to get the following to setup work:

  • Windows 7 - 64-bit
  • XAMPP 1.7.4
  • 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. 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

回答1:


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.




回答2:


Print out your

phpinfo();

and look at "Compilater" line

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

So you need the vc6 version not vc9 version



来源:https://stackoverflow.com/questions/5503859/why-is-xdebug-not-showing-up-in-phpinfo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!