NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Install Help?


Joined: 18 Jan 2008
Posts: 6
Reply with quote
Hi All,

I have installed DBG before, and had no problems with it, but I recently set up a new FreeBDS 6 server, and can't seem to get DBG installed on the server.

I have followed all instructions from the Helper Script.
I have the dbg.so-5.1.x in the correct directory on the server
I have the dbg extension loaded in the ini.

I have no Zend extensions, so I have this in the ini:

extension=dbg.so-5.1.x
[debugger]
debugger.enabled = on
debugger.profiler_enabled = on
debugger.hosts_allow= 192.168.0.100 localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

I've twiddled this and restarted apache several times, and it simply won't load the module.

Extension_loaded("DBG") returns false.
The dbg helper script says I need to add lines to the php.ini, but they are exactly what's in there already.
I am using the correct php.ini from phpinfo().


Environment:
FreeBSD 6.2.RELEASE
PHP 5.1.6
NuSphere 5.2 (5220) with dbg.so-5.1.x copied from C:\Program Files\nusphere\phped\debugger\server\FreeBSD\dbg-3.2.10-FreeBSD-6\x86\dbg.so-5.1.x

Any ideas?
View user's profileFind all posts by eligarciaSend private message
More info:


Joined: 18 Jan 2008
Posts: 6
Reply with quote
I note that the dbg helper script says phpinfo should contain:
"Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with DBG v3.2.7 , (C) 2000, 2007 by Dmitri Dmitrienko"

However, the actual phpinfo shows:
"This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies"

I have a newer version - would that make a difference?
View user's profileFind all posts by eligarciaSend private message
More Info:


Joined: 18 Jan 2008
Posts: 6
Reply with quote
I also see from another post that there may be an issue with the fact that I have PHP installed with debug info. I don't even really know what that's for, so I will try recompiling and taking it out.

I do notice that I have two php directories...

/usr/local/lib/php/20050922
/usr/local/lib/php/20050922-debug

All of my .so files are in the ...-debug directory, but I've tried adding the dbg.so-5.1.x to both just in case. Still no love.
View user's profileFind all posts by eligarciaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
with the fact that I have PHP installed with debug info.

Under unix platform like FreeBSD, you don't need neither php debugging nor thread safety. Please remove corresponding options from the configure command line, then run `make clean`, then `configure [conf. options]`, and `make` again .

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Install Help?
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