<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Zend Executable Debugger Eclipse Plugin</title>
	<atom:link href="http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/</link>
	<description>PHP and Other Techno-babble</description>
	<lastBuildDate>Mon, 01 Feb 2010 11:59:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Natalia</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-332570</link>
		<dc:creator>Natalia</dc:creator>
		<pubDate>Mon, 01 Feb 2010 11:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-332570</guid>
		<description>Many thanks to ray plante: I have changed the php.ini in XAMPP as he describes in his post and promptly got my output as a cachegrid-file. Then I installed the free program winchachegrid and now I can really see the bottlenecks in my scripts!</description>
		<content:encoded><![CDATA[<p>Many thanks to ray plante: I have changed the php.ini in XAMPP as he describes in his post and promptly got my output as a cachegrid-file. Then I installed the free program winchachegrid and now I can really see the bottlenecks in my scripts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Smith</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-274033</link>
		<dc:creator>Chris Smith</dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-274033</guid>
		<description>Hi, I followed the instructions here: http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_Installation_:_Installing_the_Zend_Debugger

But I get this error when starting Apache:

The requested opperation has failed!

When i change php.ini line:

zend_extension_ts = c:\php5\ext\ZendDebugger.dll

to

zend_extension = c:\php5\ext\ZendDebugger.dll

Apache starts but now when I click Test Debugger in Eclips I get:

A timeout occurred when the debug server attemted to connect....

Im using PDT 2.0 downloaded as a complete package.
PHP 5.1.2 Apache 2.0.55 on win32

Ive double checked the instructions and then double checked again but can&#039;t get past this point. Any ideas? Thanks for your time.</description>
		<content:encoded><![CDATA[<p>Hi, I followed the instructions here: <a href="http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_" rel="nofollow">http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_</a>:<em>Installation</em>:_Installing_the_Zend_Debugger</p>
<p>But I get this error when starting Apache:</p>
<p>The requested opperation has failed!</p>
<p>When i change php.ini line:</p>
<p>zend_extension_ts = c:\php5\ext\ZendDebugger.dll</p>
<p>to</p>
<p>zend_extension = c:\php5\ext\ZendDebugger.dll</p>
<p>Apache starts but now when I click Test Debugger in Eclips I get:</p>
<p>A timeout occurred when the debug server attemted to connect&#8230;.</p>
<p>Im using PDT 2.0 downloaded as a complete package.<br />
PHP 5.1.2 Apache 2.0.55 on win32</p>
<p>Ive double checked the instructions and then double checked again but can&#8217;t get past this point. Any ideas? Thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Burgess</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-259907</link>
		<dc:creator>Chuck Burgess</dc:creator>
		<pubDate>Tue, 09 Dec 2008 19:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-259907</guid>
		<description>On a related note, I was able to get &lt;a href=&quot;http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html&quot; rel=&quot;nofollow&quot;&gt;remote &quot;CLI&quot; script debugging&lt;/a&gt; working with Eclipse and xdebug...</description>
		<content:encoded><![CDATA[<p>On a related note, I was able to get <a href="http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html" rel="nofollow">remote &#8220;CLI&#8221; script debugging</a> working with Eclipse and xdebug&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karel Klima</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-232387</link>
		<dc:creator>Karel Klima</dc:creator>
		<pubDate>Mon, 25 Aug 2008 11:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-232387</guid>
		<description>Writing debug messages from PHP script into the Console view would be really nice. Apparently this feature is not implemented yet.</description>
		<content:encoded><![CDATA[<p>Writing debug messages from PHP script into the Console view would be really nice. Apparently this feature is not implemented yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zankar</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-213458</link>
		<dc:creator>zankar</dc:creator>
		<pubDate>Wed, 09 Jul 2008 17:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-213458</guid>
		<description>After these changes, I can see the zend debugger initiated in phpinfo(). 
But then the Apache crashes. And the output converts to junk also. :(</description>
		<content:encoded><![CDATA[<p>After these changes, I can see the zend debugger initiated in phpinfo(). <br />
But then the Apache crashes. And the output converts to junk also. <img src='http://benramsey.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Illchuk</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-194722</link>
		<dc:creator>Derek Illchuk</dc:creator>
		<pubDate>Wed, 04 Jun 2008 05:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-194722</guid>
		<description>I was finally able to get Zend Studio Eclipse to stop at my breakpoints.  The instructions are &lt;a href=&quot;http://www.derekillchuk.com/?p=18&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>I was finally able to get Zend Studio Eclipse to stop at my breakpoints.  The instructions are <a href="http://www.derekillchuk.com/?p=18" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richard</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-144478</link>
		<dc:creator>richard</dc:creator>
		<pubDate>Mon, 17 Mar 2008 14:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-144478</guid>
		<description>Hello,

I have managed to get Php debugging working, kind of...
I get the debug info in the phpinfo and I have managed to setup a new project. 
The problem I have is that eclipse seems to ignore breakpoints.

I have set to automatically stop at beginning of file in the server config but any other breakpoints are set manually are being ignored.

e.g.: Launch the index.php - Auto breakpoint stops at start.
Stick a breakpoint at the call to Page_Footer() method and it is just ignored.

Anybody encountered this issue?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have managed to get Php debugging working, kind of&#8230;<br />
I get the debug info in the phpinfo and I have managed to setup a new project. <br />
The problem I have is that eclipse seems to ignore breakpoints.</p>
<p>I have set to automatically stop at beginning of file in the server config but any other breakpoints are set manually are being ignored.</p>
<p>e.g.: Launch the index.php &#8211; Auto breakpoint stops at start.<br />
Stick a breakpoint at the call to Page_Footer() method and it is just ignored.</p>
<p>Anybody encountered this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SWeiher</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-133434</link>
		<dc:creator>SWeiher</dc:creator>
		<pubDate>Wed, 27 Feb 2008 14:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-133434</guid>
		<description>Hello,

I get the same error message in my browser. Debugging works fine but the browser stops with this error and does not continue working, though the complete html file content was sent to it. I used a traffic analyser and found two characters (hex code &quot;00&quot;) behind &quot;path=/ where the browser stops interpretating the headers. Anyone an idea what causes this error?

s.w.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I get the same error message in my browser. Debugging works fine but the browser stops with this error and does not continue working, though the complete html file content was sent to it. I used a traffic analyser and found two characters (hex code &#8220;00&#8221;) behind &#8220;path=/ where the browser stops interpretating the headers. Anyone an idea what causes this error?</p>
<p>s.w.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-115268</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 25 Jan 2008 22:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-115268</guid>
		<description>I have installed the debugger and am simply trying to debug a web page but get the following error. Somebody please help, I have been looking at this for days.

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

X-Powered-By: PHP/5.2.4
Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
Set-Cookie: ZendDebuggerCookie=192.168.0.2%2C127.0.0.1%3A10000%3A0&#124;&#124;004&#124;77742D65&#124;1033; path=/</description>
		<content:encoded><![CDATA[<p>I have installed the debugger and am simply trying to debug a web page but get the following error. Somebody please help, I have been looking at this for days.</p>
<p>CGI Error</p>
<p>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:</p>
<p>X-Powered-By: PHP/5.2.4<br />
Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/<br />
Set-Cookie: ZendDebuggerCookie=192.168.0.2%2C127.0.0.1%3A10000%3A0||004|77742D65|1033; path=/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HanaDaddy</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-93048</link>
		<dc:creator>HanaDaddy</dc:creator>
		<pubDate>Sun, 02 Dec 2007 05:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-93048</guid>
		<description>I also spent several hours searching for the solution of PHP Web page debugging.
The easiest solution is to use latest PDT plugin. It has a new select box option of Zend XDebug.
If you download the lastest version of XAMPP  version 1.6.4, there is already entries regarding XDebug but commented.

If you installed your XAMPP in C:/xampp, open C:/xampp/apache/bin/php.ini and update as below.


[Zend]
;zend_extension_ts = &quot;C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll&quot;
;zend_extension_manager.optimizer_ts = &quot;C:\xampp\php\zendOptimizer\lib\Optimizer&quot;
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:

[XDebug]
; Only Zend OR (!) XDebug
zend_extension_ts=&quot;C:\xampp\php\ext\php_xdebug.dll&quot;
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
;xdebug.remote_handler=dbgp
;xdebug.profiler_enable=1
;xdebug.profiler_output_dir=&quot;C:\xampp\tmp&quot;


Note that you need to disable the Zend Optimizer when the xdebug is enabled or your apache will not start properly
Good Luck</description>
		<content:encoded><![CDATA[<p>I also spent several hours searching for the solution of PHP Web page debugging.<br />
The easiest solution is to use latest PDT plugin. It has a new select box option of Zend XDebug.<br />
If you download the lastest version of XAMPP  version 1.6.4, there is already entries regarding XDebug but commented.</p>
<p>If you installed your XAMPP in C:/xampp, open C:/xampp/apache/bin/php.ini and update as below.</p>
<p>[Zend]<br />
;zend_extension_ts = &#8220;C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll&#8221;<br />
;zend_extension_manager.optimizer_ts = &#8220;C:\xampp\php\zendOptimizer\lib\Optimizer&#8221;<br />
;zend_optimizer.enable_loader = 0<br />
;zend_optimizer.optimization_level=15<br />
;zend_optimizer.license_path =<br />
; Local Variables:<br />
; tab-width: 4<br />
; End:</p>
<p>[XDebug]<br />
; Only Zend OR (!) XDebug<br />
zend_extension_ts=&#8221;C:\xampp\php\ext\php_xdebug.dll&#8221;<br />
xdebug.remote_enable=true<br />
xdebug.remote_host=127.0.0.1<br />
xdebug.remote_port=9000<br />
;xdebug.remote_handler=dbgp<br />
;xdebug.profiler_enable=1<br />
;xdebug.profiler_output_dir=&#8221;C:\xampp\tmp&#8221;</p>
<p>Note that you need to disable the Zend Optimizer when the xdebug is enabled or your apache will not start properly<br />
Good Luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray plante</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-91560</link>
		<dc:creator>ray plante</dc:creator>
		<pubDate>Thu, 29 Nov 2007 06:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-91560</guid>
		<description>Easy fix to get rid of the &quot;mysql_connnect not found&quot;  issue in eclipse.  

This assumes you have PHP installed and have the  php_mysql.dll in your extension directory. 

1. Rename eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905\php5\php.ini to something like php.ini.old 

2. Copy the contents of your php.ini file from your PHP install into:
eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905\php5.  

3. Check to make sure ZenDebugger.dll is in the directory. 
4. Then add this line at the bottom of the recently copied ini folder: zend_extension_ts=.\ZendDebugger.dll


Ok, now eclipse will lauch the zend php engine using the settings from your traditional php install--inculding the php_mysql.dll.</description>
		<content:encoded><![CDATA[<p>Easy fix to get rid of the &#8220;mysql_connnect not found&#8221;  issue in eclipse.  </p>
<p>This assumes you have PHP installed and have the  php_mysql.dll in your extension directory. </p>
<p>1. Rename eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905\php5\php.ini to something like php.ini.old </p>
<p>2. Copy the contents of your php.ini file from your PHP install into:<br />
eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905\php5.  </p>
<p>3. Check to make sure ZenDebugger.dll is in the directory. <br />
4. Then add this line at the bottom of the recently copied ini folder: zend_extension_ts=.\ZendDebugger.dll</p>
<p>Ok, now eclipse will lauch the zend php engine using the settings from your traditional php install&#8212;inculding the php_mysql.dll.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Basch</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-68330</link>
		<dc:creator>Derek Basch</dc:creator>
		<pubDate>Thu, 04 Oct 2007 23:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-68330</guid>
		<description>I am experiencing the same mysql_connect() issue but I am using the &quot;PHP Script&quot; debug method. Everyone else here seems to be using the &quot;PHP Web Page&quot; method. I tried copying the php.ini settings recommended above to the php.ini file in

eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905


It still doesn&#039;t work though. Anyone got any ideas on how to make this work?

Thanks!</description>
		<content:encoded><![CDATA[<p>I am experiencing the same mysql_connect() issue but I am using the &#8220;PHP Script&#8221; debug method. Everyone else here seems to be using the &#8220;PHP Web Page&#8221; method. I tried copying the php.ini settings recommended above to the php.ini file in</p>
<p>eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.10.v20070905</p>
<p>It still doesn&#8217;t work though. Anyone got any ideas on how to make this work?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikram</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-58110</link>
		<dc:creator>Vikram</dc:creator>
		<pubDate>Sat, 08 Sep 2007 15:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-58110</guid>
		<description>I had installed PDT from eclipse site and also installed Zend debugger plug-in for eclipse from Zend site. But I could not make debugger work for web pages. It worked fine for PHP scripts though. I did lot of googling to find out how to make debugger working for PHP web pages and even after trying several combinations, it did not work for me even after I made following changes to my PHP.INI file.

[Zend]
zend_extension_ts = &quot;C:\xampp\php\ext\ZendDebugger.dll&quot;
zend_debugger.allow_hosts=127.0.0.1/32, 192.168.0.0/255.255.0.0
zend_debugger.expose_remotely=always 

My problem was that I was not even able to see Zend Debugger info in phpinfo(); output.

I noticed that people were complaining same problem on Zend forums where they did not see Zend Debugger info on phpinfo(). But I did not find an answer how to fix this and I gave up. I had to also enable LDAP support for PHP and after uncommenting 

extension=php_ldap.dll

I did not see the LDAP support in phpinfo() output and this made me wary that I am doing something wrong. My simple LDAP test program worked fine from command line but not from webpage.

I was finally able to solve this problem by an accident. This problem is faced by people who use XAMPP to install the bundle of apache, PHP, Perl, MySQL etc.

I did not know that XAMPP keeps several copies of php.ini. One of them was in C:\XAMPP\apache\bin and another was in C:\XAMPP\php. I was making changes to php.ini in C:\XAMPP\php whereas apache web server was loading this file from C:\XAMPP\apache\bin directory. I read couple of places that make sure that you make changes to php.ini file at the location specified in phpinfo() output but due to the being confidant in nature, I was totally blindsided since I thought that I was making changes at the right place. After wasting 4 hours, I was finally able to use Zend Debugger with Eclipse PDT. What a relief it was at the expense of wasting 4 hours.

Vikram</description>
		<content:encoded><![CDATA[<p>I had installed PDT from eclipse site and also installed Zend debugger plug-in for eclipse from Zend site. But I could not make debugger work for web pages. It worked fine for PHP scripts though. I did lot of googling to find out how to make debugger working for PHP web pages and even after trying several combinations, it did not work for me even after I made following changes to my PHP.INI file.</p>
<p>[Zend]<br />
zend_extension_ts = &#8220;C:\xampp\php\ext\ZendDebugger.dll&#8221;<br />
zend_debugger.allow_hosts=127.0.0.1/32, 192.168.0.0/255.255.0.0<br />
zend_debugger.expose_remotely=always </p>
<p>My problem was that I was not even able to see Zend Debugger info in phpinfo(); output.</p>
<p>I noticed that people were complaining same problem on Zend forums where they did not see Zend Debugger info on phpinfo(). But I did not find an answer how to fix this and I gave up. I had to also enable LDAP support for PHP and after uncommenting </p>
<p>extension=php_ldap.dll</p>
<p>I did not see the LDAP support in phpinfo() output and this made me wary that I am doing something wrong. My simple LDAP test program worked fine from command line but not from webpage.</p>
<p>I was finally able to solve this problem by an accident. This problem is faced by people who use XAMPP to install the bundle of apache, PHP, Perl, MySQL etc.</p>
<p>I did not know that XAMPP keeps several copies of php.ini. One of them was in C:\XAMPP\apache\bin and another was in C:\XAMPP\php. I was making changes to php.ini in C:\XAMPP\php whereas apache web server was loading this file from C:\XAMPP\apache\bin directory. I read couple of places that make sure that you make changes to php.ini file at the location specified in phpinfo() output but due to the being confidant in nature, I was totally blindsided since I thought that I was making changes at the right place. After wasting 4 hours, I was finally able to use Zend Debugger with Eclipse PDT. What a relief it was at the expense of wasting 4 hours.</p>
<p>Vikram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-47351</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Thu, 12 Jul 2007 04:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-47351</guid>
		<description>Hello,

when I last posted here, I was still trying to figure out how to get the debug working.

I managed to finally get it done and it was done by a well written document found at the following link:
http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_Installation_:_Installing_the_Zend_Debugger

One thing I&#039;d like to mention is that for my apache conf settings, I had configured my documentroot within a VirtualHost definition.  I had also defined several Aliases for each website I wanted to access.  This was causing problems for me with my remote debugging.  Make sure any website you want to debug resides under your documentroot directory.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>when I last posted here, I was still trying to figure out how to get the debug working.</p>
<p>I managed to finally get it done and it was done by a well written document found at the following link:<br />
<a href="http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_" rel="nofollow">http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_</a>:<em>Installation</em>:_Installing_the_Zend_Debugger</p>
<p>One thing I&#8217;d like to mention is that for my apache conf settings, I had configured my documentroot within a VirtualHost definition.  I had also defined several Aliases for each website I wanted to access.  This was causing problems for me with my remote debugging.  Make sure any website you want to debug resides under your documentroot directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/comment-page-1/#comment-44674</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Tue, 26 Jun 2007 02:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/#comment-44674</guid>
		<description>Hello,

I managed to solve the issue with the debugger not being able to call mysql_pconnect() functions. 

One thing i didn&#039;t realize was that PDT is being setup to call a Plugin library containing PHP4 and PHP5 exe and associated libs within Eclipse.

I had followed the instructions about copying ZendDebugger.dll as stated in this article and defining my php.ini to point to the dll.  However, having different versions of the executables and libraries made things messy.

All this to say that i did the following:

1) I went into the Eclipse/plugin folder and looked for the following folder -&gt; org.zend.php.debug.debugger.win32.x86_5.2.6.v20070507

(check your version.  I downloaded the &quot;All in one Package&quot; from the Zend website http://zend.com/pdt (I downloaded for my windows version the May 24 08:26 timestamped version)

2)Since i setup my workstation to use PHP5 and MySQL 5, I copied the files from org.zend.php.debug.debugger.win32.x86_5.2.6.v20070507/php5 folder to my actual PHP5 install directory, overwriting my existing files there.

(Please note that i verified my version of the php.exe to be the same as the one defined in the plugins library.  Namely, 5.2.2.  You can do this by right-clicking your php.exe file and selecting properties and then selecting &quot;version&quot; tab.)

3)in Eclipse preferences under PHP, I made new entries for my PHP executable, pointing to my actual php5 installed folder (f:\php5).  I also made sure that my php server pointed to my project url.  ie http://localhost/php_project

4)i setup a debug configuration using my newly defined settings and I ran the debug.  

I didn&#039;t have any problems after doing this.  I hope this has helped you somewhat.

thanks
Leo.

Just in, case keep in mind the following:

My setup:
PHP 5.2.2
MySQL Server version: 5.0.41-community-nt MySQL Community Edition (GPL)
Apache 2.2.4</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I managed to solve the issue with the debugger not being able to call mysql_pconnect() functions. </p>
<p>One thing i didn&#8217;t realize was that PDT is being setup to call a Plugin library containing PHP4 and PHP5 exe and associated libs within Eclipse.</p>
<p>I had followed the instructions about copying ZendDebugger.dll as stated in this article and defining my php.ini to point to the dll.  However, having different versions of the executables and libraries made things messy.</p>
<p>All this to say that i did the following:</p>
<p>1) I went into the Eclipse/plugin folder and looked for the following folder -> org.zend.php.debug.debugger.win32.x86_5.2.6.v20070507</p>
<p>(check your version.  I downloaded the &#8220;All in one Package&#8221; from the Zend website <a href="http://zend.com/pdt" rel="nofollow">http://zend.com/pdt</a> (I downloaded for my windows version the May 24 08:26 timestamped version)</p>
<p>2)Since i setup my workstation to use PHP5 and MySQL 5, I copied the files from org.zend.php.debug.debugger.win32.x86_5.2.6.v20070507/php5 folder to my actual PHP5 install directory, overwriting my existing files there.</p>
<p>(Please note that i verified my version of the php.exe to be the same as the one defined in the plugins library.  Namely, 5.2.2.  You can do this by right-clicking your php.exe file and selecting properties and then selecting &#8220;version&#8221; tab.)</p>
<p>3)in Eclipse preferences under PHP, I made new entries for my PHP executable, pointing to my actual php5 installed folder (f:\php5).  I also made sure that my php server pointed to my project url.  ie <a href="http://localhost/php_project" rel="nofollow">http://localhost/php_project</a></p>
<p>4)i setup a debug configuration using my newly defined settings and I ran the debug.  </p>
<p>I didn&#8217;t have any problems after doing this.  I hope this has helped you somewhat.</p>
<p>thanks<br />
Leo.</p>
<p>Just in, case keep in mind the following:</p>
<p>My setup:<br />
PHP 5.2.2<br />
MySQL Server version: 5.0.41-community-nt MySQL Community Edition (GPL)<br />
Apache 2.2.4</p>
]]></content:encoded>
	</item>
</channel>
</rss>
