ActiveState Powered by ActiveState

ActiveState Community


Could not find a suitable PHP interpreter for linting

Posted by spivey on 2008-02-15 06:22

Hi. I have been getting this message and it perplexes me. I run the same version of Komodo Edit on other machines and have had no problems. Is there a dll or something that is missing on my machine?

Another thought I had: I am running php via a XAMPP installation. Could that affect the path to whatever php files Komodo Edit is looking for?

Thanks.
spivey

ToddW | Fri, 2008-02-15 09:42

You'll need to check the php interpreter Komodo has set in it's preferences "Languages->PHP" category, is the one you want to use.

As a simple test, open up a php file in Komodo then run the following Run Command (available from the Tools->Run Command menu):

%(php) -l %f

"%(php)" - means the Komodo set PHP interpreter
"%f" - means the current editor filename

That should run a similar linting call as to what Komodo is doing, which needs to run successfully.

Cheers,
Todd

-->