[xdebug-general] Re: verify xdebug is functioning

From: Centre Web Design <centrewebdesign[@]gmail.com>
Date: Mon, 9 Oct 2006 23:56:33 -0400

hi, Derick. sorry 'bout the Cc: . i didn't realize what was going on at
first. :)

okay. i tried the code that you sent. saved into my document root (
/home/user/public_html/ ,as http : / /localhost/~myuser/xdebugtest.php )
which yeilds nothing but a "blank" screen.

here's my php.ini (changed i think since my first contact earliest
yesterday)
i had originally used some specific values for the boolean, and int values
(for selecting what type of xdebug out i wanted), but then i realized that
my selections were the defaults, so all that i have in there is, as the last
line of the file (looks to have had a CR/LF there too)

zend_extension=/usr/lib/php/modules/xdebug.so

should i attach a copy of my php.ini and/or httpd.conf? anything else? in
case i didnt mention, i'm using Fedora Core 5:
~]$ uname -a
Linux localhost.localdomain 2.6.17-1.2157_FC5 #1 Tue Jul 11 22:55:46 EDT
2006 i686 athlon i386 GNU/Linux

(an older Kernel today due to some nVidia issue i got myself hung up on)

On 10/9/06, Derick Rethans <derick[@]xdebug.org> wrote:
>
> On Mon, 9 Oct 2006, Jeffrey Sabarese wrote:
>
> > I've attached a composite screenshot so you can see the output from
> > phpinfo, plus a gzip of the saved html file.
> >
> > this is what i get, CLI:
> >
> > [root[@]localhost ~]# php -v
> > PHP 5.1.4 (cli) (built: May 8 2006 08:41:41)
> > Copyright (c) 1997-2006 The PHP Group
> > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
> > with Xdebug v2.0.0beta6, Copyright (c) 2002, 2003, 2004, 2005,
> > 2006, by Derick Rethans
> > [root[@]localhost ~]#
>
> Both from the phpinfo() output and the CLI output you can see Xdebug
> listed as being loaded as it shows the version number.
>
> Probably the simplest way to see if Xdebug is actually running is to use
> some broken code:
>
> <?php
> explode( '', 'foo' );
> gzuncompress('blaat');
> trigger_error( "<font size='6'>foo</font>" );
> echo strlen();
> ?>
>
> This should show 4 xdebug boxes.
>
> PS: Please keep cc-ing the mailinglist.
>
> regards,
> Derick
>
> --
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
>

-- 
For your Business On-line
Choose: Centre Web Design
www.centrewebdesign.com
Received on Tue Oct 10 2006 - 05:56:38 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST