Joined: 03 Nov 2005 |
Posts: 1 |
|
|
|
Posted: Wed Nov 02, 2005 2:17 pm |
|
|
|
|
|
I am a new user of PHPEd looking for a good debugger. I had no problem with the internal server but not having so much luck with Apache. I have followed the installation and configuration steps to the letter, as far as I can tell.
I am using the evaluation version (Build 4033eval) with PHP 5.0.4 and Apache 2.0.54 on localhost.
What is the method of connecting the browser to the debugger? Do I need an argument in the URI or is
http://localhost/module.php supposed to start a debug session automatically? The script runs fine, it just doesn't stop at the breakpoint.
How would I specify localhost in the php.ini [debugger] section? I have this not working:
extension=php_dbg.dll-5.0.4
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=xxx.xxx.xxx.xxx localhost myhost_mydomain_com
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
(the hosts_allow contains real addresses).
The manual indicates I must have Zend Engine v1.3.0 with DBG v2.16, but I have this (quote from phpinfo()):
"This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with Xdebug v2.0.0beta3-dev, Copyright (c) 2002, 2003, 2004, by Derick Rethans
with DBG v2.18.2, (C) 2000,2005, by Dmitri Dmitrienko"
Will I be able to get remote debugging working in this environment, or is my PHP configuration not compatible with this PHPEd?
I have turned off register_argc_argv and register_long_arrays.
Thanks!
|
|