Subject: Re: bug#17477: flymake-mode looks at wrong PHP binary

From: Glenn Morris <[email-masked]>
Date: Mon, 12 May 2014 15:08:48 -0400

Joe Borġ wrote:

>> > When executing M+x flymake mode, I get
>> >
>> > Flymake: Configuration error has occured while running (/usr/bin/php -f
>> > viewrequest_flymake.php -l). Flymake will be switched OFF
>> >
>> > My php is in /usr/local/bin/php

I don't know what to tell you.
flymake just calls "php".
It sure sounds like something thinks you have a /usr/bin/php.

>> > This was installed using package-install, with marmalade repository set.

Why is this necessary? flymake is part of Emacs. What did you install?
What version of Emacs is this?

Does this happen with emacs -Q?