[xdebug-general] Query - Start up problem

From: Chris Miller <millerc[@]uk.ibm.com>
Date: Fri, 23 Feb 2007 08:58:38 +0000

I know this sounds daft but I am having trouble getting going with XDebug.

I am running a release version of php 5.2.0 in a Windows environment. From
your web site I downloaded a precompiled version Xdebug -

1. - php_xdebug-2.0.0rc3-5.2.1.dll from your web site &
2. - php_xdebug.dll from the PECL

and put both in my 'php\ext' directory. Following the installation page in
the web site I altered the php.ini file to be either -

;=================================================
; Xdebug settings
 zend_extension_ts = "c:/php/ext/php_xdebug-2.0.0rc3-5.2.1.dll"
 ;=================================================
or
;=================================================
; Xdebug settings
  zend_extension_ts = "c:/php/ext/php_xdebug.dll"
;=================================================

the extra decoration was added so that I could spot it easily.

I have tried running both php.ini settings for Xdebug from a command line
using -

        'php -e -f <scriptname.php>' ( I also tried without the '-e'
option ).

In the <scriptname.php> the second line reads 'xdebug_start_profiling() ;'
the first is '<?php', but I receive an error -

C:\Program Files\Apache Group\Apache2\htdocs\MyService\test>php -e -f
nonamespacetest.php
PHP Fatal error: Call to undefined function xdebug_start_profiling() in
C:\Program Files\Apache
Group\Apache2\htdocs\MyService\test\nonamespacetest.php on line 2

Given that the installation instructions are simple, I clearly have been
able to make a mess of this can you put me the straight, and point out the
obvious.

Thanks

        Chris

Chris H Miller

SWG Architecture Board Incubators Team
IBM (UK) Ltd, Hursley Park, Winchester, Hants SO21 2JN
Telephone Number +44 (0) 1962 817145 [IBM Internal Number 247145]

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Fri Feb 23 2007 - 09:58:47 GMT

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