I downloaded the newest version komodo. I even have apache2.2.9 JRun/4.0 and php5.2.6 running on my developement machine. whule in komodo 4.4.0 i get the CLI has stopped working popup. now i have searched the web and this forum followed the info i have found. but still i get the same error. any other ideas?
PHP typically crashes on Vista because of a difference in the C runtime libraries on your machine vs what PHP and its extensions are built with, including a known issue where xdebug causes crashes.
Are you using the php_xdebug.dll provided with Komodo 4.4 final? This version should have fixes that prevent the crash.
Are there any other versions of php_xdebug.dll on your system?
Can you try using a .dll from this site instead:
http://pecl4win.php.net/download.php/ext/5_2/5.2.1/php_xdebug.dll
Does using this files instead make a difference?
--
JeffG
I used the dll you linked in your post and it worked fine. The one Komodo installed from 4.4.0 did not work. Thanks!
I've been experiencing those crashes too (it crashed each and every time right after the debugging ended and many times during active syntax checking). But the dll from PECL repaired it. Thanks! :-)
My setup:
Vista Ultimate 32bit Servicepack 1
Apache 2.2.9
PHP 5.2.6
Komodo IDE, 4.4.0, build 20211
Hmm, well the crashes are really gone with the PECL-dll mentioned above.At least for debugging with the CLI- and CGI-Interpreters.
But three issues are remaining:
1.) It still crashes my Apache. So I can't initiate a xdebug-session in a webbrowser. Is there a specific Apache-version that works well with this dll?
2.) When I use the PECL-dll and want to debug PHP with the CGI-Interpreter it takes about 10 to 15 seconds for the debugger to start (instead of instantly). That sums up to a lot of waiting...
3.) Often, after debugging and closing Komodo, and restarting it some time later, I get an errormessage that says 'Debugger Initialization Error'.
These issues are extremely disturbing my workflow and I hope someone out there knows something that helps.
Thanks in advance
Patrick Metz
My setup:
Vista Ultimate 32bit Servicepack 1
Apache 2.2.9
PHP 5.2.6
Komodo IDE, 4.4.0, build 20211
Just in case someone is experiencing similar issues:
Disabling Apache's module mod_rewrite did the trick for me and prevented
php_xdebug.dll from crashing. I can debug just fine now with Firefox and the
Xdebug Helper-extension.
And the issue with the slow debugger-startup was there, because I just copied the
PECL-dll to PHP's extensions folder, and then switched from CLI to CGI-Interpreter
in Komodos debugging preferences, without noticing that Komodo replaced the xdebug-dll
in PHP's extensions-directory with its own again.
So I finally replaced Komodos xdebug-dll ("C:\Program Files\ActiveState Komodo
IDE 4\lib\support\php\debugging\5.2\php_xdebug.dll") with the one from PECL. And
now I can alternate between the CGI and CLI interpreter without any problems.
I have tried all the above suggestions to get this to work on my system but when I try to use the Debug Config Wizard it will not move past the second screen. When I click the Next button the dreaded popup comes up. I wait for it to give the close button and click that and then it's config dialog is sitting at the same screen so I click the Next button again and it all starts over again. I can not get this configured. I'm very frustrated. I did a search to see if there were any other xdebug.dll instances and the system returned with just the one. Help!
If the wizard is not working for you, try manually adding the Xdebug settings to your current php.ini file. Here are some docs that cover this setup:
http://articles.techrepublic.com.com/5100-10878_11-6184573.html
http://docs.activestate.com/komodo/4.4/debugphp.html#config_remote_PHP
When I run php.exe from the command line I get the following errors.
I disabled all the dynamic libraries in the ini but I'm still getting a failure. I think this is the cause of all the issues. I installed the latest version of PHP and enabled everything during the install.
Yes, those errors should be fixed first. I'd recommend installing to a location that does not contain spaces, like:
C:\PHP
You can create your own dummy php.ini file that is completely empty (obviously these dynamic modules won't be loaded) and then just add the basics of what you need, such as xdebug.
Cheers,
Todd