[xdebug-general] Re: PHP Warning but Xdebug works fine

From: Pierre <pf18387[@]users.sourceforge.net>
Date: Fri, 30 May 2008 01:05:02 +0200

Rob Mills reported :
> Xdebug works properly but running any php command through the command line is returning an error,
> for example running php -v returns:
>
> PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on
> line 0
> PHP Warning: Module 'xdebug' already loaded in Unknown on line 0
> PHP 5.2.6 (cli) (built: May 2 2008 15:18:38)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

IMHO you've loaded xdebug (probably twice) via a standard 'extension='
in php.ini
> PHP Warning: Module 'xdebug' already loaded

Just replace it by only one 'zend_extension_ts=' command
> PHP Warning: Xdebug MUST be loaded as a Zend extension

Hope this helps,
Pierre.
Received on Fri May 30 2008 - 01:32:35 BST

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