[xdebug-general] Re: Xdebug not working with IIS 7.0

From: Felix Rabinovich <Felix[@]Rabinovich.org>
Date: Sun, 20 Jul 2008 13:28:57 -0700

resending as text-only


Permissions was the first thing that I checked. Sadly, php_xdebug has
the same permissions as all other dlls ("Read & Execute" and "Read" for

There are several components that are fairly new - FastCGI came out only
recently as part Win2008 and Vista SP1. And, of course 64-bit. Has
anybody got this running in similar environment? By the way, I got
xdebug working fine on Fedora 64bit (whatever came from Fedora
repositories), feeding into Komodo running on my Windows machine. But I
need to get this IIS going, and so far I am stuck :(


Derick Rethans wrote:
> On Sun, 20 Jul 2008, Felix Rabinovich wrote:
>> 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 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=
>> 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 :)?
> The only thing I can think of here, is that it's a permission issue.
> Please make sure that the IIS user can access the file.
> regards,
> Derick
Received on Sun Jul 20 2008 - 22:31:25 BST

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