NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP 5.1.2 - Unable to load dbg module


Joined: 03 Jun 2007
Posts: 2
Reply with quote
Im trying to debug locally, on PHP 5.1.2 with PhpEd and Apache

I took the php_dbg.dll-5.2.x and made all the php.ini amendments
phpinfo says my PHP Build date = Jan 11 2006 16:35:21

But my PHP wont load the extension, it errors with

Code:

[client 127.0.0.1] PHP Warning:  PHP Startup: dbg: Unable to initialize module\n
[client 127.0.0.1] Module compiled with module API=20060613, debug=0, thread-safety=1\n
[client 127.0.0.1] PHP    compiled with module API=20050922, debug=0, thread-safety=1\n
[client 127.0.0.1] These options need to match\n


Any ideas please?
Thanks[/code]
View user's profileFind all posts by carpiiSend private message


Joined: 03 Jun 2007
Posts: 2
Reply with quote
Ok well, how typical.

After spending an hour trying to fix this, I fixed it 3 mins after posting

I ran the DBG helper script, which told me that even though phpinfo says Im running PHP 5.2.x, the dbg extension I should be using is php_dbg.dll-5.1.x

All looks good so far. Nice helper script Smile
View user's profileFind all posts by carpiiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
PHP compiled with module API=20050922

it's a clear indication that it is php 5.1, not 5.2.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
PHP 5.1.2 - Unable to load dbg module
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