Index: classes/phing/Phing.php
===================================================================
--- classes/phing/Phing.php	(revision 333)
+++ classes/phing/Phing.php	(working copy)
@@ -1099,6 +1107,7 @@
 		}
 
 		self::setProperty('php.classpath', PHP_CLASSPATH);
+		self::setProperty('php.command', getenv('PHP_COMMAND'));
 
 		// try to determine the host filesystem and set system property
 		// used by Fileself::getFileSystem to instantiate the correct
Index: docs/phing_guide/book/chapters/appendixes/AppendixC-OptionalTasks.html
===================================================================
--- docs/phing_guide/book/chapters/appendixes/AppendixC-OptionalTasks.html	(revision 333)
+++ docs/phing_guide/book/chapters/appendixes/AppendixC-OptionalTasks.html	(working copy)
@@ -1197,6 +1197,14 @@
       <td>n/a</td>
       <td>No</td>
     </tr>
+    <tr>
+      <td>interpreter</td>
+      <td>string</td>
+      <td>Path to alternative PHP interpreter</td>
+      <td>Defaults to the <tt>${php.command}</tt> property which is the
+          interpreter used to execute phing itself.</td>
+      <td>No</td>
+    </tr>
   </tbody>
 </table>
 
Index: classes/phing/tasks/ext/PhpLintTask.php
===================================================================
--- classes/phing/tasks/ext/PhpLintTask.php	(revision 333)
+++ classes/phing/tasks/ext/PhpLintTask.php	(working copy)
@@ -37,8 +37,26 @@
 	protected $haltOnFailure = false;
 	protected $hasErrors = false;
     private $badFiles = array();
+	protected $interpreter = ''; // php interpreter to use for linting
 
+    /**
+     * Initialize the interpreter with the Phing property
+     */
+    public function __construct() {
+        $this->setInterpreter(Phing::getProperty('php.command'));
+    }
+
 	/**
+	 * Override default php interpreter
+	 * @todo	Do some sort of checking if the path is correct but would 
+	 *			require traversing the systems executeable path too
+	 * @param	string	$sPhp
+	 */
+	public function setInterpreter($sPhp) {
+		$this->Interpreter = $sPhp;
+	}
+
+	/**
 	 * The haltonfailure property
 	 * @param boolean $aValue
 	 */
@@ -105,7 +123,10 @@
 	 * @return void
 	 */
 	protected function lint($file) {
-		$command = 'php -l ';
+        $command = $this->Interpreter == ''
+            ? 'php'
+            : $this->Interpreter;
+        $command .= ' -l ';
 		if(file_exists($file)) {
 			if(is_readable($file)) {
 				$messages = array();

