[xdebug-general] Re: Xdebug and PHP nts (non-thread safe) version

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 15 Nov 2007 22:16:56 +0100 (CET)

On Wed, 14 Nov 2007, James wrote:

> Can anyone help me get Xdebug working with the php-nts build?
>
> I tried using the latest versions (PHP 5.2.5 and Xdebug 2.0.2) today,
> and Xdebug loads fine if I use the thread-safe versions, but I get an
> error "Cannot find php5ts.dll" if I try loading Xdebug on the
> php5-nts-win32 version. (I'm checking loaded moduled by using "php -m"
> on the command line.)
>
> Specifically:
>
> If "Thread Safety" reads "disabled" in a phpinfo() call, then Xdebug
> does not load.

Of course not, as xdebug is normally linked to the thread safe
php5th.dll by default.

> I'm following the directions on http://xdebug.org/docs/install and my
> php.ini contains either
>
> zend_extension_ts=c:\php\ext\php_xdebug-2.0.2-5.2.5.dll
>
> for the threaded version, or the line
>
> zend_extension=c:\php\ext\php_xdebug-2.0.2-5.2.5.dll
>
> for the non-thread safe version.
>
> Any ideas or hints?

Those lines are correct - you just have to acquire an Xdebug dll that
was build agains the non-thread safe version of PHP. I don't have that
set up right now, but I could do after I get back from traveling. You
can of course try to build it yourself (along with PHP).

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Thu Nov 15 2007 - 22:16:52 GMT

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