Zend debugger won't load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hairygerman
    New Member
    • May 2007
    • 2

    Zend debugger won't load

    Hi all,

    I develop my PHP code on a Windows XP box using Eclipse 3.2.2 with the PDT plug-in, and I deploy for testing purposes onto my gateway, which runs PHP 5.2 under debian etch and apache2. I have downloaded the Zend debugger from the zend site, which should allow me to do remote debugging in Eclipse.
    After modification of the ini files I restart apache and I get this error message:

    Failed loading /usr/lib/php5/20060613/ZendDebugger.so : /usr/lib/php5/20060613/ZendDebugger.so : undefined symbol: alloc_globals

    Can anybody help with this?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    I've read that this can be fixed by re-downloading the .so file and reinstalling it.

    Comment

    • hairygerman
      New Member
      • May 2007
      • 2

      #3
      Yeah, I figured that one out. I had the wrong version of the debugger. Plus, you need to stop apache while you are replacing the wrong file with the good one, otherwise apache gets hung up on the missing file and complains it can't find it any longer.
      The saga goes further from there, because I then decided that i wanted the simpletest plug-in for eclipse, so I could do unit testing. However, that won't work remotely, i.e. I had to install PHP5 on my windows box (which doesn't work out of the box because that brilliant IIS don't care about where ini files should be and insists on finding them in C:\windows).
      Well, let's put it this way, after a long Sunday and Monday I now have PHP5 on my windows box with unit tests working, the only thing left to figure out (but that should be a snip) is how to make this all happen in eclipse.
      Greetings,

      the hairy german

      Comment

      Working...