NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
installing extiension dbg-2.11.23-Linux-i386


Joined: 28 Jan 2004
Posts: 17
Location: nd
Reply with quote
Some what confussed
Trying to install the binary DBG debugger

I extrracted this folder "dbg-2.11.23-Linux-i386"

I made these changes and addtions to my php.ini

;cwynn changed 1/28/04
;extension_dir = "./"
extension_dir = "/usr/local/lib/dbg-2.11.23-Linux-i386"


;cwynn added next 5 lines;prior these lines were not in this file
[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869

My phpinfo() out put doesn't indicate this extension is seen?

System Linux localhost 2.4.20-28.9 #1 Thu Dec 18 13:45:22 EST 2003 i686
Build Date Dec 26 2003 23:19:36
Configure Command './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--prefix=/usr/local/apache/php' '--with-config-file-path=/usr/local/apache/php' '--enable-track-vars' '--enable-force-cgi-redirect' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-gdbm'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/apache/php/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

and this line in the output:

extension_dir /usr/local/lib/dbg-2.11.23-Linux-i386 /usr/local/lib/dbg-2.11.23-Linux-i386

Is this all that is needs to be done?

thank you
craig
View user's profileFind all posts by cwynnSend private messageVisit poster's websiteICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 7875
Reply with quote
hi Craig,
You did all but loaded the extension itself.
Add extension=dbg.so above the [debugger] section
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 28 Jan 2004
Posts: 17
Location: nd
Reply with quote
added:
;cwynn changed 1/28/04
;extension_dir = "./"
extension_dir = "/usr/local/lib/dbg-2.11.23-Linux-i386"
extension="dbg.so"

;cwynn added next 5 lines;prior these lines were not in this file
[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869

Do you know what I should be looking for in the output of "phpinfo.php"
I do not see any thing that indicates this debugger is operational.

At this time I do not have phped installed to test the debugger. Can I verify without phped?

thank you
View user's profileFind all posts by cwynnSend private messageVisit poster's websiteICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 7875
Reply with quote
two things to check.
1. make sure you edit php.ini located in the directory listed in phpinfo (see the topmost header)
2. check apache logs to see if php was unable to load anything.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 28 Jan 2004
Posts: 17
Location: nd
Reply with quote
#1 answer is yes, the php.ini that I edit is the one listed in the heading of my phpinfo.php


[Thu Jan 29 13:53:50 2004] [notice] caught SIGTERM, shutting down
[Thu Jan 29 13:54:03 2004] [notice] Apache/2.0.48 (Unix) PHP/4.3.4 configured -- resuming normal operations

127.0.0.1 - - [29/Jan/2004:14:02:08 -0600] "GET /phpinfo.php HTTP/1.1" 200 35070
127.0.0.1 - - [29/Jan/2004:14:02:09 -0600] "GET /phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2962
127.0.0.1 - - [29/Jan/2004:14:02:09 -0600] "GET /phpinfo.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4440

this look normal to you?

I thank you
craig
View user's profileFind all posts by cwynnSend private messageVisit poster's websiteICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 7875
Reply with quote
and phpinfo still does not show anything about DBG ?
It's impossible Smile
if it anyway happened, try to comment out other extensions/zend extensions one-by-one to see if dbg finally appears.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
installing extiension dbg-2.11.23-Linux-i386
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