ActiveState Community

Could not find suitable PHP interpreter for linting? PHP installed...

Posted by TECK on 2007-02-18 12:07

Hi,

I installed IIS7, PHP 5.2.1 (FastCGI) and Komodo Edit 4.0.2 into my Vista x64 OS.
PHP is running perfectly, phpinfo() is showing all extensions I installed.

I also downloaded php_xdebug.dll for PHP 5.2.1:
http://pecl4win.php.net/ext.php/php_xdebug.dll

and put it into my /ext folder.
When I run Komodo Edit as Administrator and open a basic PHP file, the editor cannot see that I have PHP installed into my system and gives me the following error:

Now, in my PATH, I already entered the PHP folder location (and created also a PHPRC variable), in order to make PHP look at the right location for php.ini file.
I also edited (into php.ini file) the extension_dir location, so all my enabled extensions are working now.
However, I did not enabled the php_xdebug.dll extension, presuming that is needed into Komodo Edit, for debugging pourposes only.

Let me know what I should do next, in order to solve this problem.
Thanks.

ericp | Sun, 2007-02-18 19:05

We're working on it.

At this point you can subscribe to bug
http://bugs.activestate.com/show_bug.cgi?id=66921

to be notified of progress on this bug.

TECK | Sun, 2007-02-18 19:35

Thanks for the info.
I submitted a detailed analysis in the bug thread.
I think I know why is not working, see bug comment I made...

ericp | Fri, 2007-02-23 12:06

Edit <Komodo-IDE/Edit-install%gt;\lib\mozilla\python\komodo\which.py

Find the _cull function

Change this test:

elif ... not os.access(potential[0], os.X_OK):

to this:

elif ... not sys.platform.startswith('win') and not os.access(potential[0], os.X_OK):

Depending on whether you're running 4.0.0, .1, or .2, the test will start
with 'not darwinApp'. Leave the beginning in, just make sure the test
is *false* if you're running on any version of Windows.

See http://bugs.activestate.com/show_bug.cgi?id=66921 for more info.

TECK | Sat, 2007-02-24 14:35

Yep, the code change fixed the problem. :)
Thanks.