XDebug not working on 64-bit Vista?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
mindplay
Forum Commoner
Posts: 25
Joined: Sat Sep 16, 2006 1:32 pm

XDebug not working on 64-bit Vista?

Post by mindplay »

Hi,

I've tried everything I could think of, I can not get XDebug to work on my setup.

Or rather, I can get it to "work" - a simple testpage where I try to divide by zero, for example, will produce a nicely xdebug-formatted error message, backtrace, etc.

However, running anything more complex than that, like trying to open up phpMyAdmin, caused Apache to crash, every time.

My machine is running Windows Vista Home Premium 64-bit.

I'm running Apache 2.2.9

Code: Select all

Server version: Apache/2.2.9 (Win32)
Server built:   Jun 13 2008 04:04:59
I'm using the "php5apache2_2.dll" module for Apache, and PHP release 5.2.6

Code: Select all

PHP 5.2.6 (cli) (built: May  2 2008 18:02:07)
This setup works great otherwise! But not with XDebug.

Have tried downgrading to PHP 5.2.5, and 5.2.1, using the appropriate XDebug modules - have tried both snapshot and release versions of those, but to no avail.

Will XDebug run under 64-bit Vista at all, or am I just out of luck?

Any ideas or suggestions would be appreciated!
User avatar
dyrathror
Forum Newbie
Posts: 6
Joined: Thu Oct 02, 2008 5:30 am

Re: XDebug not working on 64-bit Vista?

Post by dyrathror »

Hi mindplay,

I am running the same setup on 32-bit Vista and have the same problems.

First I run Apache 2.2.8 with xDebug 2.0.2 and 2.0.3 and got connection losses as soon as I instantiated a debug session. After I upgraded to Apache 2.2.9 I cannot even browse my pages any more and Apache crashes already.

I also tried the xDebug 2.1dev with the same result.

I opened a ticket for this bug. Lets see if that helps.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: XDebug not working on 64-bit Vista?

Post by Weirdan »

The problem is being discussed on xdebug mailing lists, but not yet solved as far as I know. Have you tried dlls from here: http://pecl4win.php.net/ext.php/php_xdebug.dll ? Besides, do you use any other zend extensions (like Zend Optimizer, for example). According to xdebug author, xdebug have to be the only zend extension used to work properly.
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: XDebug not working on 64-bit Vista?

Post by kaisellgren »

I was running PHP 5.2.5 x64 with apache 2.2 .dll x64 and all was working fine except xdebug.dll could not be loaded.

I thought xdebug does not run on x64, but after I downloaded PHP 5.2.5 again and replaced the files it suddenly worked.

I don't know the reason and I don't care :P just wanted to share my 2 cents here.
Post Reply