Skip to content
Menu
Poppy Ramblings Poppy Ramblings
  • About
Poppy Ramblings Poppy Ramblings

PHP ZendDebugger and WAMP

Posted on 2010-04-062020-04-12 by herbcso

So I wanted to write about my woes with PHP ZendDebugger and the latest WAMP install. Bottom line: I can’t get it to work with PHP 5.3 yet. I believe this is an incompatibility in the debugger DLLs that I have been able to find for 5.3 – looks like the linkers used are incompatible with what WAMP is using.

So, here are my findings (in no particular order):

  • PHP 5.3 requires zend_extension whereas 5.2 and prior require zend_extension_ts, so since 5.3 doesn’t work for me yet, I used zend_extension_ts
  • You do not need a separate extension configured for ZendDebugger.dll, contrary to what some posts have you believe…
  • I was able to use the PHP 5.2.11 from the WAMP distribution (click the “Get more…” menu item in WAMP’s task icon and download and install PHP 5.2.11)
  • WAMP’s php.ini seems to be copied to the Apache/bin directory – haven’t figured out why that is yet… So, make sure you’re editing the correct one!
  • I was able to get it to work with these lines added to the end of my php.ini file:
[ZendDebug]
zend_extension_ts=C:\wamp\bin\php\php5.2.11\ext\ZendDebugger-5.2.15RC1-cygwin_nt-i386\5_2_x_comp\ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1,192.2.3.44
zend_debugger.expose_remotely=always
  • Note the addition of the second host IP there – that’s the actual IP address I was using (well, not really, but you get the point… ;] ) – without that the Eclipse plugin wouldn’t work
  • The ZendDebugger-5.2.15-cygwin_nt-i386.zip using the 5_2_x_comp ZendDebugger.dll (not the 5_2_x_nts_comp!) from here worked for me – YMMV.
  • Otherwise I followed the instructions here

Hope that helps some of you!

2 thoughts on “PHP ZendDebugger and WAMP”

  1. Plutopia says:
    2010-05-16 at 16:26

    Thank you very very much !!!
    After wasting 3 days of my live trying to make this debugger work your post was the sheet anchor.
    I thought i made all possible configurations but yours i certainly missed.

    Reply
    1. herbcso says:
      2010-05-17 at 07:55

      Great, glad it helped! ;]

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Shoutout for a nifty blog
  • Quick screenshots in Python
  • Getting IP address on very limited Docker containers
  • CIFS mount input/output error -5 with reading SOME directories
  • Avoid collisions in ~/bin

Recent Comments

  • herbcso on Debugging bash functions
  • herbcso on Everything you (n?)ever wanted to know about Unicode
  • herbcso on SpongeBob SquarePants in Buckaroo Banzai!?
  • mcshankins on SpongeBob SquarePants in Buckaroo Banzai!?
  • herbcso on PHP ZendDebugger and WAMP

Tags

ag AJAX bash blog cifs command-line cool debugging disk diun download firefox fix frameworks gdb homeassistant javascript packaging php plex portainer proxmox python ruby running samba search shoes silliness space SquarePants tcx therubyracer tips tricks tv unicode unix useful v8 WAMP weird windows xdebug zend

Archives

  • September 2024
  • January 2024
  • August 2023
  • September 2022
  • June 2022
  • March 2022
  • January 2022
  • May 2019
  • March 2019
  • April 2014
  • February 2014
  • October 2013
  • June 2013
  • April 2013
  • December 2012
  • November 2012
  • June 2012
  • April 2012
  • September 2011
  • October 2010
  • September 2010
  • August 2010
  • June 2010
  • May 2010
  • April 2010
  • October 2009
  • August 2008
  • June 2008
  • April 2008

Categories

  • android
  • browsers
  • coding
  • homelab
  • random nifty stuff
  • silly
  • site updates
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Poppy Ramblings | Powered by Superb Themes