[xdebug-general] CLI works but browser doesn't

From: Jake Hulme <jakeh[@]insurancechoice.co.uk>
Date: Tue, 7 Oct 2008 15:50:31 +0100

Hi

I am trying to set up Xdebug v2.1.0-dev (supplied by ActiveState) with
Komodo IDE 4.4
Sytem is Fedora 8, Apache 2.2.0, PHP 5.2.6
I have moved the xdebug.so module (to /usr/share/php although I have had it
in /usr/lib/php/modules too) and created the xdebug.ini file in /etc/php.d
because PHP complained that Ion Cube had to be loaded first if I edited
php.ini directly.

Here's the config:

zend_extension=/usr/share/php/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=<my computers host name>
xdebug.remote_port=9000

php -m shows:
...
tokenizer
wddx
xdebug
xml
xmlreader
...
[Zend Modules]
Xdebug
the ionCube PHP Loader

If I:
export XDEBUG_CONFIG="remote_port=9000 remote_enable=1"
then do
php -f <path to some php file on my server>
I get a remote debugging session set up in Komodo - great!

BUT

xdebug appears nowhere in my phpinfo() and I cannot trigger a debugger
session via my browser. Can anybody help please?
Received on Tue Oct 07 2008 - 16:56:56 BST

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