Posted by:
Vordreller
(---.47-200-80.adsl-dyn.isp.belgacom.be)
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?