NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG installation problem


Joined: 31 Aug 2007
Posts: 2
Reply with quote
I'm having a problem installing DBG.

I get this message with dbg-wizard.php
Quote:
I noticed that DBG (PHP DEBUGGER) is NOT INSTALLED on your server localhost.

It's installed according to the instructions.

From dbg-cli
Quote:
DBG php debugger, version 2.15.5, Copyright 2001, 2007, Dmitri Dmitrienko, www.nusphere.com
dbg>file index.php
Reading symbols from index.php...done.
dbg>run

Program exited.
Session start timeout has expired.
Program is not being run.


This is from phpinfo():
Quote:
Apache Version: Apache/2.0.59 (Unix) PHP/5.2.3

Loaded Modules: core mod_access mod_auth mod_include mod_log_config mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_negotiation mod_dir mod_imap mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with DBG v2.15.5, (C) 2000,2007, by Dmitri Dmitrienko

PHP Version 5.2.3
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-xml' '--with-zlib' '--enable-mbstring' '--enable-ftp' '--with-gd'

There's no DBG section


From php.ini
Quote:

[debugger]
debugger.hosts_allow=localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
debugger.enabled=on
debugger.profiler_enabled=on

zend_extension=/usr/lib/php5/dbg.so-5.2.x


Any ideas? I don't see any errors in error_log.
View user's profileFind all posts by CondorSend private message


Joined: 14 Jun 2007
Posts: 67
Reply with quote
Depending on which version of PHPEd you're using, you need to update the debug module to the latest version (DBG v3.2.3).
View user's profileFind all posts by CjungeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Right.
I'd only add that you have to update to the debugger version that comes with PhpED (see FAQ forum on where to get and how to install: http://forum.nusphere.com/howto-install-debugger-module-t576.html)

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


Joined: 31 Aug 2007
Posts: 2
Reply with quote
Turns out it was a conflict with Zend optimizer. I commented out those lines in the php.ini file and it worked, although now I can't run the code since it won't run with the optimizer.

I'm running the free version, by the way. I don't know if there are limitations.
View user's profileFind all posts by CondorSend private message
DBG installation problem
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