Thread Safe and Non-Thread Safe
Posted by: Vordreller (---.47-200-80.adsl-dyn.isp.belgacom.be)
Date: November 01, 2009 07:43PM

To debug my PHP, I use WAMP, Netbeans and Xdebug.

Xdebug can be found here: [xdebug.org]

By adding the following piece of code to my php.ini file, I can use Netbeans to debug php:

zend_extension_ts="C:\wamp\bin\php\php5.2.11\ext\php_xdebug-2.0.5-5.2.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000



Xdebug provides 2 such DLL's for PHP 5.2.x

One is called "thread safe", the other is called "non-thread safe".



Now, once you added the piece of code above, you can see that it is working correctly by looking at the phpinfo() page that WAMP provides. Left of the Zend symbol, there will be an extra line, indicating it works.


I only get this when using the thread-safe DLL.

I looked up on the internet what these 2 terms mean. But I am having a hard time finding what it means.
Can someone explain this?

Options: ReplyQuote
Re: Thread Safe and Non-Thread Safe
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: November 01, 2009 08:08PM

u really need thread safe on windows/iis

non thread safe on linux/apache


from what i know you can use both tho on windows/apache

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Thread Safe and Non-Thread Safe
Posted by: Vordreller (---.47-200-80.adsl-dyn.isp.belgacom.be)
Date: November 01, 2009 08:43PM

Well, I'm using WAMP, so Windows + Apache.

What are the specific things I should know about both versions? A comparison perhaps?

Options: ReplyQuote


Sorry, only registered users may post in this forum.