[xdebug-general] Re: Beginner issues with remote debug

From: Anil T Samuel <Anil.Samuel[@]oracle.com>
Date: Fri, 11 Jan 2008 09:09:01 +1100

> PHP 4 is no longer supported, PHP 4.3 not since a *long* time.
> Although
> Xdebug still compiles for it, you'd miss quite a lot of things. Please
> try atleast PHP 5.2.0.

I downloaded php-5.2.0 source and xdebug-2.0.2 and built binaries for
both.
See versions and configuration below here

[asamuel[@]stacv61 public_html]$ php5 -v
PHP 5.2.5 (cli) (built: Jan 10 2008 12:52:19)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
     with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans

[asamuel[@]stacv61 public_html]$ which php5
php5: aliased to /scratch/asamuel/projects/opensource/php-5.2.5/
sapi/cli/php -c /scratch/asamuel/projects/opensource/php-5.2.5/php.ini
$*

[asamuel[@]stacv61 public_html]$ tail /scratch/asamuel/projects/
opensource/php-5.2.5/php.ini
zend_extension="/scratch/asamuel/projects/opensource/xdebug/
xdebug-2.0.2/modules/xdebug.so"
xdebug.remote_enable=On

>
> You also seem to have the CGI version of PHP... if you test on the
> command line, you really should be using CLI instead.
>
> After you've updated to some more recent versions, please try again.
>

Also note that I am using CLI in the case above.

Regards
Anthos
Received on Thu Jan 10 2008 - 23:09:16 GMT

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