View Issue Details

IDProjectCategoryView StatusLast Update
0000698XdebugUncategorizedpublic2011-09-19 21:30
Reporterdarrenoh Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version2.6.31
Product Version2.1.0 
Summary0000698: xdebug.remote_connect_back in .htaccess has no effect
Description

xdebug.remote_connect_back in .htaccess has no effect. If there is a restriction on where this may be set, it would be nice to have it documented. Restrictions on core PHP configuration settings are documented here: http://www.php.net/manual/en/configuration.changes.modes.php

Steps To Reproduce
  1. Add “php_flag xdebug.remote_enable on” and “php_flag xdebug.remote_connect_back on” to .htaccess.
  2. Check configuration using phpinfo().
TagsNo tags attached.
Operating SystemLinux devphp1 2.6.31-23-server 0000074-Ubuntu SMP Mon Feb 28 22:32:34 UTC 2011 x86_64
PHP Version5.2.10

Activities

derick

2011-06-18 09:38

administrator   ~0001754

Hi!

It's indeed not supposed to work because of security issues really. But yes, it should be documented. Right now, you can easily see the various restrictions here:
http://svn.xdebug.org/cgi-bin/viewvc.cgi/xdebug/trunk/xdebug.c?annotate=3442&root=xdebug#l238
or with "php --re xdebug | grep Entry" on the command line.

Derick

derick

2011-09-19 21:30

administrator   ~0001804

Changed my mind, and fixed this for Xdebug 2.1.3 and 2.2dev. You can now set it in .htaccess too.