NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Failed to run DBG session


Joined: 12 May 2007
Posts: 2
Location: Rostov-on-Don, Russia
Reply with quote
Good day to Dmitri and All Very Happy

Sorry, I can't manage to install the Debugger. The message I have from PhpEd is:
DBG 3.1.11 Failed to run DBG session
Reason: connection to the client address 127.0.0.1:7869 is not allowed
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.
Debugger request: "392153374289600003;d=1,p=0,c=1"
Request found in: "query_string"
Target PHP version: "5.2.0"
Server API: "CGI/FastCGI"
Extensions API: "220060519"
Modules API: "20060613"1.
PHP API: "20041225"

In Dmitri's How to install debugger I read: php should be installed and properly set up first. I'am very sorry, but it's not completely clear to me, it seems that PhpEd has built-in Php5...
I have the PHP5 in form of so called Denver of Dm.Koterov and Alex.Kostarev ( from their book PHP5,2005 I've khown of NuSphere PhpEd (p.150) and understood that I am to use just this IDE). I've copied php_dbg.dll-5.1 into extension_dir directory on virtual disk Z: which Denver creates automatically when Apache server is started. (First I thought that PhpEd has a built-in PHP5, did not start Denver's Apache at all and tried to copy dbg-dll to its extension directory... Confused ). Then I've edited Denver's php-ini, adding
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=host1 host2 host3
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

In the Koterov&Kostarev's book (p.151)recommended addition is the same without last three strings, I've tried that as well - and had the same result...

Sorry for these naive pains, but one important question more. In Koterov&Kostarev's book is said that while Apache is run you are not to be connected to Internet because of attacks danger. When I start PhpEd, I see SRV local web server running. Should I not to be connected to Internet in this case as well?

And generally: should I start Denver's Apache and PhpEd together to have the Php and Server (different from Php5 built in PhpEd and SRV local web server) or PhpEd alone would be sufficient?..Sorry once again, but please tell me a word. And where could I read to understand these basics properly? And how to install Debugger?

Many thanks in advance. Smile

_________________
AY
View user's profileFind all posts by yukhnanSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
Reason: connection to the client address 127.0.0.1:7869 is not allowed

I'm sorry if it is not clear to you that connection to 127.0.0.1:7869 is not allowed and therefore you have to add debugger.hosts_allow directive or update existing and make sure that 127.0.0.1 is listed there.

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


Joined: 12 May 2007
Posts: 2
Location: Rostov-on-Don, Russia
Reply with quote
Dear Dmitri, thank you very much; and I am starting to study PhpEd documentation.

_________________
AY
View user's profileFind all posts by yukhnanSend private messageICQ Number
[resolved] Failed to run DBG session
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