If you receive an error message when attempting to debug a PHP program or if the debugging process does not proceed as expected, verify that you have installed PHP and the Xdebug extension as per the instructions in the Debugging PHP documentation, then check the following:
php -m. "xdebug" should be listed under Zend Modules (and not under PHP Modules). If this is not the case, your configuration is incorrect. See "Common PHP Configuration Problems" below.
<? asdf echo test; ?>
Komodo should display a red squiggly line under
echo test;. If it does not, it indicates that Komodo is not able to communicate with the PHP interpreter.
If any of the steps above were unsuccessful, proceed to the next section.
Common PHP Configuration Problems
Verify Xdebug library specification: The location of xdebug.dll (Windows) or xdebug.so (Linux) must be defined the php.ini file, for example:
Windows-Specific Configuration Issues Version Error Messages
If you receive a dialog with the following text:
Warning xdebug: Unable to initialize module Module compiled with debug=0, thread-safety=1 module API=20001222 PHP compiled with debug=0, thread-safety=1 module API=20001222 These options need to match
... download an updated version of
xdebug.dll (Windows) or
xdebug.so (Linux) from the Xdebug.org site.