[ciapug] php interpreter errors

Ryan O'Rourke ciapug@cialug.org
12 Apr 2004 14:18:38 -0500


When trying to run the following php script from the command line, why
does it work when I do:
	php test.php
but not when I do:
	./test.php
??

#!/usr/local/bin/php
<?php
$test =  "testing - testing";
echo $test;
?>


The error I get is ": bad interpreter: No such file or directory"

Thank you.

-- Ryan