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

From: Jan Schneider <jan[@]horde.org>
Date: Fri, 14 Jan 2005 15:35:56 +0100

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

> On Thu, 13 Jan 2005, Jan Schneider wrote:
>
>> > 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
>>
>> Hm, seems to rather be a messed up PHP build environment. APD is similar,
>> CLI works, Apache 1/2 not, only that I get undefined symbol zend_execute
>> there.
>
> You're having some mess with headers. Empty_String is a 5.0 thing afaik,
> and you're using 5.1 (or the other way around). You really need to make
> sure you have a stable installation first... this is true for all pecl
> installations.

Neither, I use PHP 4 CVS. The only way that I finally got it working was to
compile it statically into PHP. That worked for both xdebug and apd.

I completely cleaned all PHP stuff from the Apache directory I was building
against, without luck. Maybe it's because I have several Apache and PHP
versions installed and the build process somehow gets confused, though I
use --with-php-config. Anyway this is rather a PHP build problem than a
xdebug problem, and it's working now for my purposes.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
Received on Fri Jan 14 2005 - 15:34:59 GMT

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