# [xdebug-general] Xdebug not working with IIS 7.0

From: Felix Rabinovich <Felix[@]Rabinovich.org>
Date: Sun, 20 Jul 2008 11:16:35 -0700

Hi,

I have problems getting a working configuration of Xdebug and IIS.
The versions i use are IIS 7 on Windows 2008 x64, PHP 5.2.6 FastCGI,
Xdebug 2.0.3 windows binary.

IIS starts with no errors in php error log; however, there is no mention
in phpinfo of xdebug being loaded. There is also no indication of xdebug
attempting to start.

Here is XDEBUG section in php.ini:

[XDEBUG]
; xdebug config for Windows
zend_extension_ts=c:\Programs\PHP\ext\php_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000

This works on Apache just fine.

By the way, if I indicate the wrong location for php_xdebug, I *do* get
an error message ("can't find dll") as expected. Unfortunately, when the
location is specified correctly, nothing happens.

The only thought that comes to mind is 64-bit nature of Windows/IIS
server. However, PHP is 32-bit, and all other libraries are loaded just
fine.

Any other things that I can try (short of switching to Apache :)?

Thanks
Received on Sun Jul 20 2008 - 21:05:42 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST