NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Unable to Setup Debugger(DBG) Module on PHP 5.2.0


Joined: 28 Apr 2007
Posts: 2
Location: Singapore
Reply with quote
I'm running PHP 5.2.0. However, the dbg-2.13.1-win32.zip file that I have downloaded has up to only php_dbg.dll-5.1.2 .

When I resort to use the latest module dll available there which is for 5.1.2, phpinfo() fails to show any debugger running.

So I went a step further. I comment all "zend_extension_ts=" statements in my php.ini so I could use "extension=php_dbg.dll" (dll renamed from php_dbg.dll-5.1.2), the error log shows:\

Code:

PHP Warning:  PHP Startup: dbg: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0


From these signs, I infer that I would need a php_dbg.dll specifically for 5.2.0.

If my inference is correct, where could I download the file?

However, if my deduction is incorrect, could someone point me where I have gone wrong?

Any information will be very much appreciated.
View user's profileFind all posts by kenlohwhSend private messageYahoo MessengerMSN Messenger
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
dbg moule for 5.2 is available with PhpED 5.0
View user's profileFind all posts by yfaktorSend private message
Debugger Module is now successfully loaded.


Joined: 28 Apr 2007
Posts: 2
Location: Singapore
Reply with quote
yfaktor wrote:
dbg moule for 5.2 is available with PhpED 5.0


Thank you so much!

I installed PhpED 5.0 and then searched for the php_dbg.dll.xxx for the version of PHP that I use.

After copying it into my PHP's ext folder (and for just-in-case, I also copied it to c:\windows\system and c:\windows\system32), I have got the error that the ionCube module needed to be loaded first.

Defying the advice that I would need that the debugger be loaded before anything else, I swapped the places for the ionCube module and the debugger. The reason why I do this is that I have googled up some sites that say that it is okay for third-party modules to be above the statement to load the debugger module.

After all that, the debugger was able to be loaded as shown in phpinfo().

Once again, thank you so much for your info! Smile
View user's profileFind all posts by kenlohwhSend private messageYahoo MessengerMSN Messenger
[resolved] Unable to Setup Debugger(DBG) Module on PHP 5.2.0
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