[xdebug-general] xdebug session does not start. ubuntu 12.04 LAMP

From: David Cimadevilla <david[@]cimaware.com>
Date: Wed, 23 May 2012 23:18:04 +0200

First of all, thank you for developping such a great tool. I have been
using it for many years and it makes my life a little easier. To the point:

It seams like remote xdebug sessions do not start on my system.

I have a fresh installation of ubuntu 12.04 and LAMP. I have installed and
configured it to use with netbeans but it seems sessions are not starting.
I have tried everyting from stackoverflow and other forums such as the ipv4
thing... no luck.

Some data:

$ php -v
PHP 5.3.10-1ubuntu3.1 with Suhosin-Patch (cli) (built: May 4 2012
02:20:36)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans

php.ini:

xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000

xdebug.remote_log=/home/david/xdebug-log.txt

$ apache2 -v

Server version: Apache/2.2.22 (Ubuntu)
Server built: Feb 13 2012 01:51:50

SYMPTOMS:

1) I execute debugclient... it gets waiting for server connection. I can
check with netstat that port 9000 is now opened and listening.

2) I load in Firefox
http://localhost/test.php?XDEBUG_SESSION_START=test-xdebug

3) debugclient does not show any opening session data. It should do it,
doesnt it?

4) xdebug-log.txt remains empty. It has 666 permissions.

Before to post an issue, I would like to know if there is anything else I
can try to find out where the problem could be.

I would be very grateful if someone could give some hint.
Received on Wed May 23 2012 - 22:18:06 BST

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