[xdebug-general] module fails to load

From: Ben Giles <btgiles[@]gmail.com>
Date: Wed, 8 Aug 2007 19:45:53 +0800

Hello,

I'm using the CVS version of xdebug (checked out yesterday). I
compiled as per http://xdebug.org/docs/install, using the version
phpize that came with my distribution (CentOS hosted at Mediatemple).

I cannot get the xdebug module to load. Does Zend Engine == Zend
Optimizer? From the install docs: "Xdebug does not work together with
the Zend Optimizer or any other Zend extension (DBG, APC, APD etc).
This is due to compatibility problems with those modules. We will be
working on figuring out what the problems are, and of course try to
fix those. "

If so this is probably my problem.

uname -a:
Linux xxxxx 2.6.9-023stab040.1-enterprise #1 SMP Mon Jan 15 22:56:55
MSK 2007 i686 i686 i386 GNU/Linux

php -v:
PHP 4.3.9 (cgi) (built: Feb 21 2007 06:35:52)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by
ionCube Ltd.

PHP Version 4.3.9:
Server API Apache 2.0 Handler
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled

xdebug:

-rwxr-xr-x 1 root root 487437 Aug 8 10:53 /usr/lib/php4/xdebug.so

I added the line:

zend_extension="/usr/lib/php4/xdebug.so"

to /etc/php.ini and restarted. (I also tried

zend_extension_ts="/usr/lib/php4/xdebug.so")

xdebug does not appear in phpinfo(), though for some reason it states:

_ENV["PWD"] /root/xdebug
and
PWD /root/xdebug

I'm not sure why this is the case. I had originally used
zend_extension="/root/xdebug/modules/xdebug.so" but have since moved
it to /usr/lib/php4

php -m:

[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
domxml
exif
ftp
gd
gettext
gmp
iconv
imap
ionCube Loader
ldap
mbstring
mime_magic
mysql
ncurses
odbc
openssl
overload
pcntl
pcre
posix
pspell
session
shmop
snmp
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
xmlrpc
yp
zlib

[Zend Modules]
the ionCube PHP Loader

Many thanks if you can help.

Regards,
Ben Giles
Received on Wed Aug 08 2007 - 13:46:00 BST

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