NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Debugging fails if PHP uses The FastCGI tp2


Joined: 04 Jan 2007
Posts: 18
Reply with quote
When using "The FastCGI Technical Preview 2" for IIS 6, the debugger does not work. When I switch back to plain CGI, it works fine. I have the PHPEd 4.6.3 Build 4633.

Here is what the debugger tells me:
---------------------------------------------------
DBG 3.1.7

Failed to run DBG session

Reason: client ip address [(null)] lookup failed
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "36693869;d=0,p=1,c=0"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.2.0"
Server API: "CGI/FastCGI"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"
View user's profileFind all posts by tetikrSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
4633 comes with dbg 3.1.9, not 3.1.7. You may want to update debugger modules you installed on the server.
You may also want to check if 'REMOTE_ADDR is populated in the phpinfo().

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


Joined: 04 Jan 2007
Posts: 18
Reply with quote
I downloaded 4633 today from My NuSphere > My Products. It comes only with PHP 5.1. So I also downloaded PHP 5.2.1 from My NuSphere > My Updates. The file name was suprisingly NuSphere-phped-4.6.2-php5.2.0-Win32.exe and it really installed only PHP 5.2.0 with DBG 3.1.8.

What am I doing wrong? Where can I get PHP 5.2.1 with DGB 3.1.9? Why it's not embedded in the 4633 install file? Thanks.
View user's profileFind all posts by tetikrSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
this page http://www.nusphere.com/download.php.ide.htm contains proper link to php5.2.1:
http://shop.nusphere.com/customer/download/files/NuSphere-phped-4.6.3-php5.2.1-Win32.exe

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


Joined: 04 Jan 2007
Posts: 18
Reply with quote
I have got 5.2.1 with dbg 3.1.9. When debugging under the fastcgi it fails as before:

-------------------------------------------
DBG 3.1.9

Failed to run DBG session

Reason: client ip address [(null)] lookup failed
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "63345216;d=1,c=0"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.2.0"
Server API: "CGI/FastCGI"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"
-------------------------------------------

_SERVER["REMOTE_ADDR"] = 127.0.0.1
View user's profileFind all posts by tetikrSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you need to turn off auto_globals_jit in php.ini

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


Joined: 04 Jan 2007
Posts: 18
Reply with quote
It works. Thanks.
View user's profileFind all posts by tetikrSend private message
[resolved] Debugging fails if PHP uses The FastCGI tp2
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