NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG + php.ini auto_prepend_file = Annoying


Joined: 19 Nov 2009
Posts: 1
Reply with quote
Is there anyway to stop the debugger from halting on the auto_prepend_file with
Code:
Dbg mapping   Failed to find a way to load "/etc/php5/auto_prepend_file.php" remote file. Opening it using debugger protocol   13:11:57
?

I would like it to ignore the file. I cannot simply remove the file as a lot of legacy code relies on it to remap the DOCUMENT_ROOT environment variable as we are in a mass virtual hosting environment on Apache. https://issues.apache.org/bugzilla/show_bug.cgi?id=26052

Any ideas of how to get round this situation?

Thanks.
View user's profileFind all posts by TreffynnonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
PhpED would not need to load this file if it wasn't going to show you its content with currently executed line.
There are two solutions:
1) uncheck "Stop on the first line after run" and rely on breakpoints and/or DebugBreak() calls.
2) have local copy of the file and add an extra mapping entry (Project Properties->Mapping tab) that will establish connection between /etc/php5/ and the local file's directory.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG + php.ini auto_prepend_file = Annoying
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