Installation

Barry Pretsell's picture

There are a number of steps to ensuring we get all the applications communicating with each other.

  1. Download and install the Apache 1.3 / PHP 4.3.11 installer package from entropy.ch
  2. Download and install Activestate Komodo, (you can get a 30-day version so you can try before you buy). I am using version 3.5 personal edition.
  3. Run Komodo.
  4. Select Komodo → preferences from the menu
  5. Expand the Languages Category on the left of the dialog box, and select PHP. You should now see something like the following:
Komodo PHP Preferences
PHP Preferences in Komodo
Now we need to ensure we are using the correct php, and that we select this as the Default PHP Interpreter. So at the terminal check what php is being picked up in the path using the which command, then find out what php version we're using and whether it has Xdebug.
Check php version
Now Path to alternative PHP configuration file is where we'll store a php.ini and Xdebug library so specify somewhere under your home directory. The php.ini file will contain debug variables defining how we want to debug. I created a Komodo directory and a debug subdirectory to it to store mine.
Let's click on the Debugger Config Wizard button and setup the debugger.