[xdebug-general] Re: Can't get xdebug.so to load with Apache2 module

From: Jan Schneider <jan[@]horde.org>
Date: Thu, 13 Jan 2005 14:03:02 +0100

Zitat von Derick Rethans <derick[@]xdebug.org>:

> On Wed, 12 Jan 2005, Jan Schneider wrote:
>> I'm banging my head at this. I already gave up for a few months and tried
>> again, but still am not able to load xdebug.so properly.
>> What works:
>> Loading xdebug.so in both debug and non-debug built for CLI SAPI, both using
>> zend_extension_debug=/full/path/to/xdebug.so (which is strange because
>> zend_extension_debug should *not* work with non-debug builds), specified in
>> php-cli.ini.
> Right... I never had problems with this (not even on Windows :) Are you
> sure you don't have a thread safe version of PHP? in that case, add _ts
> to the zend_extension... thingy.

Nope, I never ever used a TS version of PHP yet (on Linux). But nonetheless
I tried this earlier too.

>> What doesn't work:
>> Loading xdebug.so in an Apache2 prefork PHP.
>> I tried both, debug and non-debug builds, both zend_extension and
>> zend_extension_debug, both full path to xdebug.so and only xdebug.so with
>> specifying the correct extension_dir, both path with quotes and without,
>> all specified in php.ini (and no, I don't have another php-*.ini). Nothing
>> worked or triggered any message that might give a hint.
> You should always use the full path, so there is no point in leaving it
> out. Zend extensions do not listen to the extension_dir setting.
> I don't have much other things that I can help you with though... no
> other ideas. I'm always using it with apache 1 ... and that works just
> great.

I tried the whole thing again with an Apache 1 version I had lying around.
And at least I get an error message now:

Failed loading /usr/local/apache/php/lib/xdebug.so:
/usr/local/apache/php/lib/xdebug.so: undefined symbol: empty_string


Do you need professional PHP or Horde consulting?
Received on Thu Jan 13 2005 - 14:01:52 GMT

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