Debugging PHP as CGi

I am attempting to debug some PHP scripts. In order to make this easier, I need to debug them as CGI, however, the CGI interpreter option is disabled, as is the Simulate CGI Environment option.

I am using the built in Apache server with OS X Yosemite. Do I need to do anything to the server to enable these options?

Edit: Should have said, I am using Komodo IDE 9.1.0

You should install php5-cgi package.

1 Like

Just for completion, I thought I would let people know how I fixed this.
After trying XAMPP and MAMP, both of which wouldn’t work for some reason, I went to and followed the instructions there for the latest binary of PHP.
I now point Komodo to use the php-cgi installed with this installation and all is good.