NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
php 4.2.3 : Do I need to compile PHP with debug enabled?


Joined: 25 Jul 2005
Posts: 2
Reply with quote
Hi,

I've compiled php 4.2.3 with debug-disabled directive. I've downloaded dbg.so-4.2.3 and is trying to use it with PhPEd 3.3.3 (build 3397 eval).

I'm not able to get dbg module loaded and dont see the dbg information in phpinfo().

Here is the content of php.ini file:

extension=dbg.so-4.2.3

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=ALL
debugger.ports=7869, 10000/16

Not sure what is preventing the module from being loaded? do I need to have debug enabled in the php to be able to use dbg module?

any help is truly appreciated.

thanks
-Amit
View user's profileFind all posts by amitj3Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
debug-disabled should always be left as is unless you want to debug php enging using such tools like GNU debugger gdb (don't mess with dbg).

Quote:
I've downloaded dbg.so-4.2.3

What you downloaded is probably not intended for running with phped. Debugger modules for phped are packaged with phped. See debugger subdirectory.

Quote:
Not sure what is preventing the module from being loaded

Most probably you did not follow the instructions, please see the FAQ forum first.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jul 2005
Posts: 2
Reply with quote
Thanks.

After taking the dbg.so-4.2.3 from suggested location, I'm able to get it loaded and can see it in phpinfo.

thanks for your help.
amit
View user's profileFind all posts by amitj3Send private message
php 4.2.3 : Do I need to compile PHP with debug enabled?
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