Why is xdebug not showing up in phpinfo()

2019-03-26 19:43发布

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

标签: php xampp xdebug
2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-03-26 20:28

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.

查看更多
萌系小妹纸
3楼-- · 2019-03-26 20:34

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

查看更多
登录 后发表回答