ActiveState Community

php is not configured for debugging

Posted by bretth7377 on 2008-04-29 08:45

After many problems with compiling php, xdebug, etc, I've finally got the Debugger Wizard to configure debugging without any errors. However, When I click, debug, step into to start the debugger, I get the error messagephp is not configured for debugging. Any assistance would be appreciated.

Thanks,
Brett

jeffg | Tue, 2008-04-29 17:25

What PHP are you using? Please be aware that the PHP Apple supplies with OS X will not work with Xdebug. For more on this, please see this blog post:

http://www.openkomodo.com/blogs/jeffg/php-leopard-or-how-use-mamp-instea...

--
JeffG

bretth7377 | Tue, 2008-04-29 17:59

Thanks yeah I recompiled PHP and copied that one over... What seemed to do it was restarting Komodo.

Thanks for your help,
Brett

jeffg | Tue, 2008-04-29 18:24

I'd shy away form *replacing* /usr/bin/php, as that will in turn get nuked the next time Apple updates it in a security update or something. If you're going to compile PHP yourself, maybe set the prefix to /usr/local/bin or something instead?

--
JeffG

bretth7377 | Tue, 2008-04-29 19:55

ahh, good point.... I'll change it. Thanks Jeff