According to phpinfo():
with DBG v3.1.1, (C) 2000,2006, by Dmitri Dmitrienko
(...)
Version 3.1.1
Linked as a shared library.
Dbg SSL not available
Dbg ip security enabled.
Profiler enabled
Target PHP version 5.1.4
Server API Apache 2.0 Handler
Extensions API 220051025
Modules API 20050922
PHP API 20041225
Directive Local Value Master Value
debugger.enable_session_cookie On On
debugger.enabled On On
debugger.fail_silently On On
debugger.hosts_allow protected value protected value
debugger.hosts_deny protected value protected value
debugger.ignore_nops Off Off
debugger.JIT_enabled Off Off
debugger.JIT_host clienthost clienthost
debugger.JIT_level 3 3
debugger.JIT_port 7869 7869
debugger.net.chunksize 48000 48000
debugger.net.maxpacketsize 4096000 4096000
debugger.ports protected value protected value
debugger.profiler_enabled On On
debugger.session_nocache On On
debugger.timeout_seconds 300 300
|
php.ini
extension=dbg.so
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 83.91.6.* 86.58.130.*
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
|
I have copied the dbg.so-5.1.x from debugger/server/linux to my server and renamed it dbg.so and loaded it with php. If i try to run netstat:
vservGEN ~ # netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 86.58.130.*:3306 0.0.0.0:* LISTEN
tcp 0 0 86.58.130.*:80 0.0.0.0:* LISTEN
tcp 0 0 86.58.130.*:22 0.0.0.0:* LISTEN
tcp 0 0 86.58.130.*:443 0.0.0.0:* LISTEN
tcp 0 0 86.58.130.*:443 83.91.6.*:4061 ESTABLISHED
tcp 0 0 86.58.130.*:443 83.91.6.*:4062 ESTABLISHED
tcp 0 840 86.58.130.*:22 83.91.6.*:4053 ESTABLISHED
tcp 0 0 86.58.130.*:22 83.91.6.*:4173 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 5571760 /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 26059136 /var/run/cgisock
unix 3 [ ] STREAM CONNECTED 25031096
unix 3 [ ] STREAM CONNECTED 25031095
unix 3 [ ] STREAM CONNECTED 25031094
unix 3 [ ] STREAM CONNECTED 25031093
unix 3 [ ] STREAM CONNECTED 24817204
unix 3 [ ] STREAM CONNECTED 24817203
unix 3 [ ] STREAM CONNECTED 24817202
unix 3 [ ] STREAM CONNECTED 24817201
unix 3 [ ] STREAM CONNECTED 24815445
unix 3 [ ] STREAM CONNECTED 24815444
unix 3 [ ] STREAM CONNECTED 24815443
unix 3 [ ] STREAM CONNECTED 24815442
|
And there is nothing to see in the apache logs.
If i try to use the profiler it tells me:
Quote: |
DBG 3.1.1
Failed to run DBG session
Reason: failed to connect to the client address 127.0.0.1:7869
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.
Debugger request: "391328241164700023@localhost;d=0,p=1,c=0"
Request found in: "query_string"
Target PHP version: "5.1.4"
Server API: "Apache 2.0 Handler"
Extensions API: "220051025"
Modules API: "20050922"
PHP API: "20041225"
|
(But that is quite obvious when there is nothing listening on the port 7869)
Can anyone out there help me?