Re: Trying to install xdebug (was a nightmare)
| From: | Alan Knowles | Date: | Thu, 19 Jun 2003 08:08:25 +0000 |
| Subject: | Re: Trying to install xdebug (was a nightmare) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6114@lists.php.net to get a copy of this message | ||
my php.ini has these lines - to do the automated backtracing..
zend_extension=/usr/lib/php4/20020429/xdebug.so
xdebug.collect_params=0
you probably need to modify it for win32 a little..
Regards
Alan
Limbourg Arnaud wrote:
Something like print_r(xdebug_get_function_stack()) in php.inixdebug.output_dir = "c:/"This is indicated on xdebug website.I previously reported a crash in go-pear.php at the call of win32DetectPHPSAPI. I installed xdebug, as advised, and ran it again, getting a further crash. I got no xdebug output, and couldn't find how to specify the output log for it(?), so I put in more print statements, as shown below. It crashes on the call to 'exec'. Before this call, $php_bin is reported correctly as 'G:\php\php.exe'. My command line is G:\php> cli\php -n -d output_buffering=0 PEAR\go-pear.php as derived from go-pear.bat. I don't use go-pear.bat directly, because it reports environment overflow when setting the environment variables.