On Mon, 12 Dec 2011, Dotan Cohen wrote:
> On Mon, Dec 12, 2011 at 13:00, Derick Rethans <derick[@]xdebug.org> wrote:
>
> >Which versions of PHP and Xdebug are you using?
>
> GS:~$ php --version
> PHP Warning: PHP Startup: memcache: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
> PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>
> Might those errors be relevant?
Well, you *are* loading Xdebug wrongly. You need to use zend_extension=
and not extension=. The docs have some info:
http://xdebug.org/docs/install
>
> $ yum info php-pecl-xdebug.x86_64
> Name : php-pecl-xdebug
> Arch : x86_64
> Version : 2.0.5
> Release : 1.el5.1
>
> Interesting that there is not --version option, nor xdebug manpage.
>
> Thanks for the assistance, I hope that the version numbers would be
> enough to identify the issue. I thought that PHP and xdebug version
> numbers must match, but I seriously doubt that this xdebug version is
> for PHP 2!
No. but 2.0.5 is a few years old. Please upgrade to the latest version
(2.1.2) first.
cheers,
Derick
-- Like Xdebug? Consider a donation: http://xdebug.org/donate.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: @derickr and @xdebugReceived on Mon Dec 12 2011 - 16:14:13 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST