NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG + apache worker + PHP 5.2.11 (cgi-fcgi) + memcached


Joined: 13 Jan 2010
Posts: 1
Reply with quote
I am running apache 2 in worker mode with php 5.2.11 in fcgi mode with memcached as my session handler on a linux server remotely, and PhpED locally on a windows box.
Everything seems to be fine until I get to the debugger.

making sure module does get loaded:
Quote:

# /usr/bin/php-cgi -v
PHP 5.2.11 (cgi-fcgi) (built: Nov 17 2009 19:17:52)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with DBG v3.8.10, (C) 2000,2009, by Dmitri Dmitrienko

Quote:

# php -v
PHP 5.2.11 (cli) (built: Nov 17 2009 19:18:54)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with DBG v3.8.10, (C) 2000,2009, by Dmitri Dmitrienko

running the wizard:
Quote:

DBG (PHP DEBUGGER) Version 3.8.10 is INSTALLED


everything appears to be in place, but there is nothing listening on port 7869
Quote:

# netstat -an | grep 7869
#


from phpinfo():
Quote:

dbg
DBG DBG php debugger, version 3.8.10, Copyright 2001, 2009 Dmitri Dmitrienko, http://www.nusphere.com/dbg

Version 3.8.10
Linked as a shared library.
Dbg SSL not available
Dbg ip security enabled.
Profiler enabled
Target PHP version 5.2.x
Server API CGI/FastCGI
Extensions API 220060519
Modules API 20060613
PHP API 20041225

Directive Local Value Master Value
debugger.enable_session_cookie On On
debugger.enabled On On
debugger.fail_silently Off Off
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


I have tried the wizard in the IDE on my windows box and it times out with this error on my server:
Quote:

Premature end of script headers: dbg-sample.php


I have checked firewall settings, and telneting to port 7869 on the linux box returns connection refused. When I run the http://mysite/dbg-sample.php I get:
Quote:

array(2) { [0]=> string(Cool "element1" ["a"]=> string(Cool "element2" } hello world


and I see nothing wrong with that script. I'm not sure what I could be missing..

any help greatly appreciated..
View user's profileFind all posts by dregerSend private message
DBG + apache worker + PHP 5.2.11 (cgi-fcgi) + memcached
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