开发者

Why is xdebug not showing up in phpinfo()

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]

[XDe开发者_如何学运维bug]
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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜