[xdebug-general] Xdebug won't listen on port 9000

From: jay <titleistfour[@]gmail.com>
Date: Fri, 20 Aug 2010 15:35:34 -0500

Hello,

Recently we updated our PHP version from 5.2 to 5.3.3 on a CentOS 5.5 box.
 Xdebug was working fine prior to the upgrade. It now refuses to start and
listen on port 9000, or any port for that matter. Though, apache and php
report it is installed. I tried removing the xdebug rpm and reinstalling
and nothing, still will not start. I tried compiling it, same thing.

Can someone offer some suggestions on what I should be looking for? Seems
like the install is fairly simple, should work. We tried using xdebug 2.1.0
from source and 2.1.0-1.el5.remi rpm from the repository
http://rpms.famillecollet.com/. I'm completely stumped and have run out of
ideas trying to get this to work again.

Thanks!!

Jay

[root[@]webdev]# cat /etc/php.ini | grep -i xdebug
[xdebug]
xdebug.remote_enable=on
xdebug.remote_handler="dbgp"
xdebug.remote_port=9000
;xdebug.remote_host="172.16.13.7"
; set the following so that any debugger can talk to xdebug:
xdebug.remote_connect_back=1
; xdebug logging
xdebug.remote_log=/var/log/httpd/xdebug.log
xdebug.remote_log=/tmp/debug.log
[root[@]webdev modules]#

[root[@]webdev]# cat /etc/php.d/xdebug.ini
zend_extension="/usr/lib/php/modules/xdebug.so"
[root[@]webdev]#

[root[@]webdev]# php -v
PHP 5.3.3 (cli) (built: Jul 22 2010 16:41:20)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
[root[@]webdev modules]#

[root[@]webdev]# php phpinfo.php | grep -i xdebug
/etc/php.d/xdebug.ini,
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.idekey => root => no value
xdebug.manual_url => http://www.php.net => http://www.php.net
xdebug.max_nesting_level => 100 => 100
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => Off => Off
xdebug.remote_connect_back => On => On
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => On => On
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => /tmp/debug.log => /tmp/debug.log
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.scream => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3
[root[@]webdev]#

[root[@]webdev]# netstat -an | grep LIST
tcp 0 0 127.0.0.1:20032 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 172.16.0.62:25 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:20031 0.0.0.0:*
LISTEN
[root[@]webdev]#

[root[@]webdev]# rpm -qa | grep php | sort
php-5.3.3-1.el5.remi
php-cli-5.3.3-1.el5.remi
php-common-5.3.3-1.el5.remi
php-devel-5.3.3-1.el5.remi
phpdoc-1.4.3-1.el5.remi
php-gd-5.3.3-1.el5.remi
php-ldap-5.3.3-1.el5.remi
php-mbstring-5.3.3-1.el5.remi
php-mcrypt-5.3.3-1.el5.remi
php-mysql-5.3.3-1.el5.remi
php-odbc-5.3.3-1.el5.remi
php-pdo-5.3.3-1.el5.remi
php-pear-1.4.9-6.el5
php-pear-Auth-SASL-1.0.4-1.el5.remi
php-pear-DB-1.7.13-1.el5.centos
php-pear-Log-1.12.1-1.el5.remi
php-pear-Mail-1.2.0-1.el5.remi
php-pear-MDB2-2.4.1-2.el5.centos
php-pear-MDB2-Driver-mysql-1.4.1-3.el5.centos
php-pear-Net-SMTP-1.4.2-1.el5.remi
php-pear-Net-Socket-1.0.9-2.el5.remi
php-pear-PhpDocumentor-1.4.3-1.el5.remi
php-pear-PhpDocumentor-docs-1.4.3-1.el5.remi
php-Smarty-2.6.26-1.el5
php-soap-5.3.3-1.el5.remi
php-xml-5.3.3-1.el5.remi
[root[@]webdev]#
Received on Fri Aug 20 2010 - 21:35:35 BST

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