NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HTTP_SERVER_VARS seems to be missing


Joined: 11 Jul 2008
Posts: 3
Location: England
Reply with quote
I never got a reply to the other question I asked here about DBG clienthost not working, so I downloaded the source to have a look.

I can see the source attempts to find the clienthost from HTTP_SERVER_VARS. Unfortunately, in the PHP scripts I am running (under standard Apache, on CentOS5), there is no such variable. No wonder DBG doesn't work.

Anyone have a clue why?
View user's profileFind all posts by nikkilockeSend private message
Solved!


Joined: 11 Jul 2008
Posts: 3
Location: England
Reply with quote
In CentOS 5, by default, register_long_arrays is set to Off. This removes the HTTP_SERVER_VARS variable, thus breaking DBG.
Setting
register_long_arrays On
in php.ini makes it start working again.
View user's profileFind all posts by nikkilockeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
probably you're talking about FREE version of debugger (2.x)
As of version 3.x, DBG works perfectly well regardless if long arrays are defined or not.

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


Joined: 11 Jul 2008
Posts: 3
Location: England
Reply with quote
Thanks, dmitri, yes I am talking about the free version.

Glad to hear this is fixed in the next version (which will presumably become free one day?).

Hopefully my question and solution will help someone else, anyway.
View user's profileFind all posts by nikkilockeSend private message
HTTP_SERVER_VARS seems to be missing
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