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

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 12 Jan 2005 23:16:45 +0100 (CET)

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.

> 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.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Jan 12 2005 - 23:17:00 GMT

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