NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG XAMPP Win32 and php_dbg.dll-5.2


Joined: 11 Nov 2007
Posts: 2
Location: Paris, France
Reply with quote
Good afternoon,


I have been trying to install DBG on my Xampp installation on Windows XP, following the instructions (HOWTO: Install debugger module).
I modified the php.ini file according to the instructions (loading the debugger before any Zend module). I copied the .dll to both directories /ext and /extensions.
When I run the php -m command in command-line, I get the following result:
Code:

C:\Program Files\xampp\php>php -m
Failed loading php_dbg.dll-5.2
[PHP Modules]

... some modules
Code:

[Zend Modules]
Zend Extension Manager
Zend Optimizer

It looks like if the php_dbg.dll-5.2 file is not compatible with the php version of Xampp (v5.2.4).

Did anyone come across this problem and found a solution ?


Last edited by Blogostef on Sun Nov 11, 2007 3:11 pm; edited 1 time in total
View user's profileFind all posts by BlogostefSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'm sure it is compatible.
There are three php_dbg.dll-5.2.x are comming with PhpED:
-TS
-NTS
-NTS VC8
and only TS is compatible with php that comes with XAMPP.
Since there are three official php binary packages for Win32 are widely spreaded we started providing three derivations of the debugger.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 Nov 2007
Posts: 2
Location: Paris, France
Reply with quote
You are right. The README from the C:\Program Files\nusphere\phped\debugger\server\Windows folder claims that the .dll supports any version of php 5.2:

Quote:
This directory contains debugger modules for php 4 and 5 (versions from
4.3.0 up to 4.4.* and from 5.0.3 up to 5.2.*) for the platforms listed below:

Win32/x86, compatible with official php binaries (x86)
NTS PHP on Win32/x86, compatible with official php binaries (x86_NTS)
Windows/64bit (x86_64)
NTS PHP on Windows/64bit (x86_64_NTS)
NTS PHP on Win32/x86 compatible with MS VC80 runtime (x86_NTS_VC8)


I don't think that Xampp uses unofficial binaries. Unfortunately, I still have this error.
View user's profileFind all posts by BlogostefSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
XAMPP can't use ALL three official set of binaries simultaneously.
You have to select an appropriate _one_. Most probably, TS.
Also, you have to select debugger module that matches bittness of php, not bittness of your CPU or OS.
If you have 32bit Apache, you can't use 64bit debugger and vice versa.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG XAMPP Win32 and php_dbg.dll-5.2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic