NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DGB or DBG?


Joined: 01 Dec 2006
Posts: 2
Reply with quote
In short, DBG doesn't show up in phpinfo after an install on my remote server (GoDaddy hosted virtual dedicated Linux server, Fedora Core 4)

Looking through the forum, I found to try php -v which gives the following error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/
dgb.so' - /usr/lib/php/modules/dgb.so: cannot open shared object file: No such f
ile or directory in Unknown on line 0
PHP 5.0.4 (cli) (built: Nov 8 2005 08:27:12)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies

Just to make sure I put it in the right place, I tried:

[root@ip-208-109-82-246 ~]# dir /usr/lib/php/modules/dbg*

The result shows that the file is there:

/usr/lib/php/modules/dbg.so

This file is dbg.so-5.0.x renamed to dbg.so so that I didn't have to type as much (using PHP version 5.0.4)

I'm fairly new to web programming (maybe too new), but I've been told that PhpED is a great environment for me to learn in. Any thoughts on what I should look for to fix this?

The local install works, by the way. But I can't get DGB to load.

Could it be my php.ini settings? I put these lines at the very end:
extension=dgb.so
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=ALL
;debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

(I allowed all hosts because my local machine does not have a dedicated IP, and this is a test server with no real code on it. As soon as I get it to work, I'll tighten up the allow list)

Thanks,
Dan
View user's profileFind all posts by danielariSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
you wrote:
Quote:
This file is dbg.so-5.0.x renamed to dbg.so so that I didn't have to type as much (using PHP version 5.0.4)

while error sounds a bit differently:
Quote:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dgb.so'
- /usr/lib/php/modules/dgb.so: cannot open shared object file: No such file or directory

Do you see the difference?
dgb.so is not dbg.so
From the error message it is clear that system was unable to find the file.

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


Joined: 01 Dec 2006
Posts: 2
Reply with quote
I didn't get the difference at first. Now I do. Thank you very much. I confirmed that dbg is now running. I'm looking forward to starting with the IDE.
View user's profileFind all posts by danielariSend private message
DGB or DBG?
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