NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
xampp 1.7.0 and php debugger


Joined: 25 Jan 2009
Posts: 2
Reply with quote
My box is windows 7 x64 and upgraded to xampp for windows 1.7.0.



As shown at the attached screen shot, dbg-php-5.2.dll not browse at phped debugging.

My apm setting for debugging is as follows;

1. httpd-vhost.conf
Quote:

<VirtualHost *:8080>
ServerName tester.localhost
ServerPath k:/_web/settest
DocumentRoot k:/_web/settest
<Directory "k:/_web/settest">
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog D:/xampp/Apache/logs/localhost_error_log
CustomLog D:/xampp/Apache/logs/localhost_access_log combined
</VirtualHost>


2. [debugger] at php.ini

Code:
[debugger]
zend_extension_ts="D:\xampp\php\ext\dbg-php-5.2.dll" (replaced with phped's)
debugger.enabled=on
;debugger.enable_session_cookie=on
;debugger.session_nocache=On
;debugger.JIT_enabled=On
;debugger.JIT_level=3
debugger.profiler_enabled=on
debugger.hosts_allow= 127.0.0.1 192.168.0.1 hanpedro.localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
eaccelerator.enable="0"


Any comment would be appreciated.

Thanks in advance.
View user's profileFind all posts by hanpedroSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
XAMPP comes with ZEndOptimizer turned on by default. Try to comment it out and restart Apache.

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


Joined: 25 Jan 2009
Posts: 2
Reply with quote
dmitri wrote:
XAMPP comes with ZEndOptimizer turned on by default. Try to comment it out and restart Apache.


Basically commented zend section.

After changing debugger.hosts_allow option into "debugger.hosts_allow=all", I can pass the Project setting wizard.
View user's profileFind all posts by hanpedroSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
After changing debugger.hosts_allow option into "debugger.hosts_allow=all", I can pass the Project setting wizard.


So the debugger works fine and you can debug your scripts.
If you encounter any further problems please contact support.

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


Joined: 29 Nov 2006
Posts: 2
Reply with quote
I have the same problem:

phped 4.6.3 Build 4635
Xampp for Windows XP 32bit 1.7.0

the C:\xampp\apache\bin\php.ini I set to

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=all
debugger.ports=7869, 10000/16

a phpinfo on the localhost says:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with DBG v2.15.5, (C) 2000,2007, by Dmitri Dmitrienko

dbg
DBG php debugger, version 2.15.5, Copyright 2001, 2007, Dmitri Dmitrienko, www.nusphere.com

Version 2.15.5
Linked as a shared library.
Profiler compiled, enabled

Directive Local Value Master Value
debugger.enable_session_cookie On On
debugger.enabled On On
debugger.fail_silently On On
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.profiler_enabled On On
debugger.session_nocache On On
debugger.timeout_seconds 300 300





Trying to debug in phped always ends "failed to start debug session... Please make sure that the debugger module is installed on the server."
Zend optimizier is deactivated. Project properties semm to be ok.


Pls. any ideas highly appreciated!
Cheers,
Chris
View user's profileFind all posts by cgoennerSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you're trying to work with debugger v2.15. This version is not supported by the IDE. You have to install the module that comes with PhpED. See debugger installation instructions in FAQ.

Quote:
phped 4.6.3 Build 4635

if you upgraded to 5.6, it would install the debugger for you.

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


Joined: 29 Nov 2006
Posts: 2
Reply with quote
Quote:
You have to install the module that comes with PhpED



works best. thanks dmitri!
View user's profileFind all posts by cgoennerSend private message
xampp 1.7.0 and php debugger
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