我正在努力让 xdebug 与我的 Apache 2.x、PHP 5.3 和我的 Netbeans 6.9 一起工作:
我的意思是phpinfo中的一切看起来都很好,除了:
local value local value master value
xdebug.idekey MYTHINKPAD$ netbeans-xdebug
MYTHINKPAD 是我的本地 (Windows 7x64) 机器的名称。我没有最微弱的线索,主值以这种方式被覆盖。在 http.conf 和 .htaccess 中肯定没有 php_value,在 php.ini 中也没有任何异常:
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
更令人惊讶的是,如果我将这个添加到 httpd.conf 中,重新启动并查看 phpinfo():
This has an effect (no surprise) and shows in phpinfo():
php_value iconv.output_encoding "UTF-8"
This has an effect (no surprise) and shows in phpinfo():
php_value xdebug.max_nesting_level 111
Again, sigh, my machine name 'wins'...
php_value xdebug.idekey foobardoo
嗯?有人可以填写我,为什么我的机器名称如此有弹性?
在此期间,什么AllowOverride
可以让我在 .htaccess 文件中使用 php_value 语句?(是的,我用谷歌搜索)。还是根本不可能?