[xdebug-general] "cannot open shared object file"

From: Michael Karl <info[@]mkarl.de>
Date: Sat, 26 May 2007 01:35:09 +0200


I try to get Xdebug to work, but I don't manage it.

I've got Apache/2.0.54 (Debian GNU/Linux) PHP/5.2.2-0.dotdeb.0 with

I compiled Xdebug as described, copied xdebug.so to /root/test and
put the following line in my php.ini:


(Thread Safety is disabled according to phpinfo())

When restarting Apache I get the following error message:
Failed loading '/root/test/xdebug.so': '/root/test/xdebug.so':
cannot open shared object file: No such file or directory

When I create a section [Zend] in my php.ini, and put the
zend_extension-line in this section, I don't get an error message
anymore, but Xdebug doesn't work (no entry in phpinfo(), var_dump()
isn't displayd in Xdebug style).

When I copy xdebug.so in my standard extension directory


doesn't work too. But


works! I get an entry in phpinfo(), and var_dump() is displayd in
Xdebug style. But I get warnings, that Xdebug must be installed as

Does anyone know where the problem is?

I just want to use Xdebug for remote debugging. Will this work when
installing Xdebug as normal extension?

Best Regards

Received on Sat May 26 2007 - 01:35:17 BST

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